@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/**
 *
 * search content
 * NOTE: 他の検索部品を全て内包します。内包したセレクタでは、この部品の変数を使用するため必須です。
 * NOTE: [id="content"]タグへこのクラスを付与して使用します。
 *
 **/
.search_content {
  --search-content-gap: 40px;
  --search-side-width: 320px;
  --oe-primary: #14d9dc;
  --oe-deep-teal: #08555f;
  --oe-bg-light: #FAFAFA;
  --oe-card-shadow: 0 4px 20px rgba(14, 76, 94, 0.08);
  --oe-card-radius: 16px;
  --oe-sidebar-width: 320px;
  --oe-text-dark: #0f2f33;
}

/**
 * search main
 **/
/* 2カラムの時 */
#main.search_center_wrap {
  order: 2;
  width: calc(100% - var(--search-content-gap) * 1 - var(--search-side-width) * 1);
  padding-top: 16px;
}

/* 3カラムの時 */
.search_right_wrap+#main.search_center_wrap,
.search_content:has(.search_right_wrap) #main.search_center_wrap {
  width: calc(100% - var(--search-content-gap) * 2 - var(--search-side-width) * 2);
}

@media (max-width: 959.98px) {
  #main.search_center_wrap {
    width: 100%;
  }

  .search_right_wrap+#main.search_center_wrap,
  .search_content:has(.search_right_wrap) #main.search_center_wrap {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  #main.search_center_wrap {
    width: 100%;
  }

  .search_right_wrap+#main.search_center_wrap,
  .search_content:has(.search_right_wrap) #main.search_center_wrap {
    width: 100%;
  }
}

/**
 * search left side
 **/
#side.search_left_wrap {
  order: 1;
  max-width: none;
  width: var(--search-side-width);
  padding: 16px 0 0;
  margin-bottom: 16px;
  position: relative;
}

.search_left_banner {
  display: none;
  padding: 32px 0 0;
}

@media (max-width: 959.98px) {
  #side.search_left_wrap {
    width: 100%;
  }

  .search_left_banner {
    display: none;
  }

  /* htmlから data-search-items を外すと通常バージョン */
  #side.search_left_wrap[data-search-items] {
    background: #fff;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 3000;
    width: auto;
    height: auto;
    padding: 16px 16px;
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: opacity 0.8s ease;
    opacity: 0;
    pointer-events: none;
  }

  #side.search_left_wrap.active[data-search-items] {
    opacity: 1;
    pointer-events: auto;
  }

  /* 元のsubmitを消す */
  #side.search_left_wrap[data-search-items] .search_item_submit {
    display: none;
  }

  #side.search_left_wrap[data-search-items] .word_search .search-field {
    width: 100%;
  }

  #side.search_left_wrap[data-search-items] .word_search .search-submit {
    display: none;
  }
}

/**
 * search right side
 **/
.search_right_wrap {
  order: 3;
  max-width: none;
  width: var(--search-side-width);
  padding: 16px 0 0;
  margin-bottom: 16px;
  position: relative;
}

@media (max-width: 959.98px) {
  .search_right_wrap {
    display: none;
    width: auto;
  }
}

/**
 * search_form
 **/
.search_form {}

/* OE Design: Glassmorphism sidebar */
/* Design: aside > div.p-6 → padding:24px, rounded-3xl → 24px, bg-white/85, shadow-card, border-white/60 */
.page--s .search_form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: var(--oe-card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  padding: 24px;
  position: sticky;
  top: 112px;
}

/**
 * search_item
 **/
.search_item {
  background-color: #fff;
  border: solid 1px var(--site-c-main);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  padding: 0;
  margin: 0 0 14px;
  overflow: hidden;
  position: relative;
}

/* OE Design: search_item override */
/* Design: mb-6, border-t border-gray-100 pt-6 → sections separated by top border + 24px padding */
.page--s .search_item {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  border-radius: 0;
  box-shadow: none;
  padding: 24px 0;
  margin: 0;
  overflow: visible;
}

.page--s .search_item:first-child {
  padding-top: 0;
}

.page--s .search_item:last-of-type {
  border-bottom: none;
}

.search_item_head {
  background-color: var(--site-c-main);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  padding: 6px 12px;
  margin: 0;
}

/* OE Design: search_item_head - section label with icon */
/* Design: flex items-center gap-3(12px) text-base(16px) font-semibold(600) text-gray-700 mb-3(12px) */
.page--s .search_item_head {
  background-color: transparent;
  color: #374151;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search_item_head .step_number {
  display: none;
}

@media (max-width: 767.98px) {
  .search_item_head {
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.1ex;
    padding: 8px 12px;
  }
}

.search_item_head[data-accordion-head]+* {
  position: relative;
  padding-bottom: 32px;
  height: 130px;
}

/* OE Design: No accordion - always show content */
.page--s .search_item_head[data-accordion-head]+* {
  height: auto !important;
  padding-bottom: 0;
  overflow: visible;
}

.search_item_head[data-accordion-head]+*::after {
  content: '';
  display: block;
  box-shadow: 0 -32px 16px -8px rgba(255, 255, 255, 0.8) inset;
  height: 32px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  z-index: 2;
  transition: box-shadow 0.5s ease;
  pointer-events: none;
}

/* OE Design: Remove accordion gradient overlay */
.page--s .search_item_head[data-accordion-head]+*::after {
  display: none;
}

.search_item_head.active[data-accordion-head]+*::after {
  box-shadow: 0 0 0 0 white inset;
}

.search_item_head[data-accordion-head]::after,
.search_item_head.accordion_head::after {
  display: none;
}

/* OE Design: No accordion arrow needed */
.page--s .search_item_head[data-accordion-head]::after {
  display: none;
}

/* OE Design: Hide accordion open button (use !important to override button[type="button"] rule) */
.page--s .search_item_open {
  display: none !important;
}

.search_item_open {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  border-radius: 50%;
  border: solid 1px var(--site-c-main);
  background: var(--site-c-main);
  color: #fff;
  width: 28px;
  height: 28px;
  font-size: 16px;
  position: absolute;
  top: auto;
  right: 8px;
  bottom: 8px;
  left: auto;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.5s ease;
}

.search_item_open::before {
  content: "\f3d0";
  display: block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  transition: inherit;
}

.search_item_open:focus,
.search_item_open:hover {
  opacity: 1;
}

.search_item_open.active {
  border: solid 1px var(--site-c-main);
  background: #fff;
  color: var(--site-c-main);
}

.search_item_open.active::before {
  transform: rotateX(180deg);
}

.search_item_area_btn {
  padding: 12px;
  text-align: center;
}

.search_item_area_btn .btn {
  max-width: 200px;
  height: 40px;
  margin: 0;
}

.checkbox_list_area {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px 0;
  padding: 0 16px 16px;
}

/* OE Design: checkbox_list_area as dropdown-like select box */
/* Design: bg-white border-gray-100(#f3f4f6) rounded-xl(12px) shadow-xl overflow-hidden */
.page--s .checkbox_list_area {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.04);
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}

@media (max-width: 767.98px) {
  .checkbox_list_area {
    padding: 0 16px 16px;
  }
}

.checkbox_list_area>li [type="radio"],
.checkbox_list_area>li [type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.checkbox_list_area>li a {
  display: block;
  color: var(--site-c-gray);
  font-size: 13px;
  line-height: 1.4;
  padding: 0 0 0 0.75em;
  position: relative;
  transition: all 0.15s;
}

.checkbox_list_area>li a::after {
  content: "\f3d3";
  display: block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--site-c-main);
  font-size: inherit;
  line-height: inherit;
  position: absolute;
  left: 0;
  top: calc((1lh - 1em) * 0.5);
  z-index: 1;
}

/* OE Design: hide default area arrow */
.page--s .checkbox_list_area>li a::after {
  display: none;
}

@media (min-width: 768px) {
  .checkbox_list {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    padding: 0 0 12px;
  }

  .checkbox_list>li {
    color: var(--site-c-gray);
    font-size: 13px;
    width: 100%;
    padding: 12px 12px 0;
  }
}

@media (min-width: 960px) {
  .checkbox_list>li {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .checkbox_list>li {
    width: 100%;
  }
}

.checkbox_list>li ul {
  padding: 0 0 0 16px;
}

@media (max-width: 767.98px) {
  .checkbox_list {
    padding: 14px 14px;
  }

  .checkbox_list>li {
    margin-bottom: 8px;
  }

  .checkbox_list>li ul {
    padding: 0 0 8px 20px;
  }

  .checkbox_list_area>li input {
    margin-top: 14px;
    margin-right: 8px;
  }

  .checkbox_list_area>li a {
    padding: 8px 0 8px 12px;
    margin-right: 16px;
    font-size: 12px;
  }

  .checkbox_list_area>li a::after {
    content: "";
    top: 50%;
    left: 0;
    width: 0.25em;
    height: 0.25em;
    color: var(--site-c-gray);
    font-size: 1em;
    font-weight: 700;
    line-height: 1.2em;
    display: block;
    position: absolute;
    border-top: 2px solid var(--site-c-main);
    border-right: 2px solid var(--site-c-main);
    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
    transform: translate(0, -50%) rotate(45deg);
  }
}

.search_item .word_search_wrap {
  padding: 12px;
}

/* OE Design */
.page--s .search_item .word_search_wrap {
  padding: 0;
}

.search_item .word_search {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  gap: 0;
}

.search_item_submit {
  text-align: center;
}

/* OE Design */
.page--s .search_item_submit {
  padding: 0;
  border: none;
}

.search_item_submit .btn {
  max-width: 200px;
}

.search_center_wrap .title02 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4em;
  overflow: hidden;
  padding: 32px 0 0;
  margin: 0 0 8px;
  color: var(--site-c-main);
}

.search_center_wrap .title02 span {
  float: right;
  font-size: 11px;
  font-weight: 100;
  color: var(--site-c-gray);
}

.search_center_wrap .title02 span b {
  font-size: 18px;
  font-weight: 700;
  color: var(--site-c-main);
  padding-right: 3px;
}

@media (max-width: 767.98px) {
  .search_center_wrap .title02 {
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    text-align: center;
    position: relative;
    overflow: visible;
    padding: 16px;
    margin: 0 0 8px;
  }

  .search_center_wrap .title02 span {
    padding-top: 8px;
    float: none;
    display: block;
  }

  .search_center_wrap .title02 span b {
    font-size: 16px;
  }
}

.search_center_wrap .column_detail_main {
  font-size: 12px;
  line-height: 28px;
  margin-bottom: 32px;
}

@media (max-width: 767.98px) {
  .search_center_wrap .column_detail_main {
    font-size: 12px;
    line-height: 28px;
    margin: 0 0 8px;
  }
}

.search_change_view {
  max-width: 550px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search_change_view div p {
  background-color: var(--site-c-black);
  color: #fff;
  height: 32px;
  line-height: 32px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 12px;
  margin: 0 0 12px;
}

@media (max-width: 1300.98px) {
  .search_change_view div p {
    height: auto;
    font-size: 12px;
    padding: 3px 8px;
  }
}

@media (max-width: 767.98px) {
  .search_change_view div p {
    background: #fff;
    color: var(--font-c);
    text-align: left;
    margin: 0;
    padding: 0 0 8px;
    font-weight: 700;
  }
}

.option {
  display: block;
  font-size: inherit;
  line-height: 1;
  padding: 0 0 0 1.5em;
  position: relative;
  cursor: pointer;
}

.option [type="radio"],
.option [type="checkbox"] {
  position: absolute;
  opacity: 0;
}

.option_status {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  border: solid 2px var(--site-border-c);
  width: 1em;
  height: 1em;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: translate(0, 0);
}

.option:has(:checked) .option_status {
  border: solid 2px var(--site-border-c);
}

.option_status::after {
  content: "\f122";
  display: block;
  font-family: "Ionicons";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  text-rendering: auto;
  line-height: 1;
  color: var(--site-c-main-hue);
  transform: translate(1px, -1px) scale(1.2);
  transform-origin: left center;
  opacity: 0;
  transition: inherit;
}

.option:has(:checked) .option_status::after {
  opacity: 1;
}

#search_f_menu {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  padding: 14px 14px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  transition: background-color 0.4s ease, color 0.2s ease;
}

#search_f_menu.active {
  background: #fdef5d;
  color: var(--font-c);
}

@media (min-width: 960px) {
  #search_f_menu {
    display: none;
  }
}

#search_f_menu .text_parts {
  color: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.1ex;
  text-align: left;
  width: calc(100% - 88px);
  padding: 0 28px 0 0;
  margin: 0;
  transition: width 0.4s ease;
}

#search_f_menu.active .text_parts {
  width: calc(100% - 146px);
}

#search_f_menu .box_btn {
  width: 88px;
  padding: 0;
  margin: 0;
  position: relative;
  transition: width 0.4s ease;
}

#search_f_menu.active .box_btn {
  width: 146px;
}

#search_f_menu .btn_change {
  display: block;
  border-radius: 3em;
  border: solid 1px;
  background: transparent;
  color: inherit;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1ex;
  position: relative;
  width: 88px;
  height: 44px;
  margin: 0 0 0 auto;
  transition: opacity 0.4s ease;
}

#search_f_menu .btn_change[data-search-results-cancel],
#search_f_menu .btn_change[data-search-results-submit] {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}

#search_f_menu .btn_change[data-search-results-cancel] {
  width: 44px;
  right: 92px;
  font-size: 16px;
}

#search_f_menu .btn_change[data-search-results-submit] {
  right: 0;
}

#search_f_menu .btn_change[data-search-results-change] {
  opacity: 1;
}

#search_f_menu .btn_change[data-search-results-cancel] {
  opacity: 0;
  pointer-events: none;
}

#search_f_menu .btn_change[data-search-results-submit] {
  opacity: 0;
  pointer-events: none;
}

#search_f_menu.active .btn_change[data-search-results-change] {
  opacity: 0;
  pointer-events: none;
}

#search_f_menu.active .btn_change[data-search-results-cancel] {
  opacity: 1;
  pointer-events: auto;
}

#search_f_menu.active .btn_change[data-search-results-submit] {
  opacity: 1;
  pointer-events: auto;
}

.search_center_wrap__func {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0 0 16px;
}

.search_center_wrap__func>*:first-child {
  margin-left: 0;
  margin-right: auto;
}

.search_center_wrap__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 16px;
  padding: 0;
}

@media (max-width: 767.98px) {
  .search_center_wrap__title {
    font-size: 12px;
  }
}

.search_center_wrap__lead {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 8px;
  padding: 0;
}

.search_center_wrap__func .search_center_wrap__lead {
  margin-bottom: 0;
}

.search_center_wrap__lead b {
  color: var(--site-c-main);
  font-size: 20px;
  font-weight: inherit;
}

@media (max-width: 767.98px) {
  .search_center_wrap__lead {
    font-size: 16px;
    text-align: center;
  }

  .search_center_wrap__lead b {
    font-size: 20px;
  }
}

/**
 * OE Design Overrides for Search Page (.page--s)
 **/

/* Icon circles for search_item_head */
/* Design: w-10 h-10(40px) rounded-full bg-primary/15 */
.page--s .search_item_head::before {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 217, 220, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Area section icon */
/* Design: text-deep-teal text-[22px] → 22px */
.page--s .search_form .search_item:nth-of-type(1) .search_item_head::before,
.page--s .search_form .search_item:nth-of-type(2) .search_item_head::before {
  font-family: 'Material Symbols Outlined';
  content: 'public';
  font-size: 22px;
  color: var(--oe-deep-teal);
}

/* OE Design: Background */
.page--s #content.search_content {
  background-color: var(--oe-bg-light);
  padding: 40px 0;
}

/* OE Design: Full-width layout (matches design: max-w-full px-4 md:px-8) */
.page--s #content.search_content>.base_wrap {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .page--s #content.search_content>.base_wrap {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* OE Design: Hide right banner area */
.page--s .search_right_wrap {
  display: none;
}

/* OE: Right sidebar is hidden, so main content uses single-sidebar width calc */
.page--s .search_content:has(.search_right_wrap) #main.search_center_wrap,
.page--s .search_right_wrap+#main.search_center_wrap {
  width: calc(100% - var(--search-content-gap) - var(--search-side-width));
}

@media (max-width: 959.98px) {

  .page--s .search_content:has(.search_right_wrap) #main.search_center_wrap,
  .page--s .search_right_wrap+#main.search_center_wrap {
    width: 100%;
  }
}

/* OE Design: Hide left banner area */
.page--s .search_left_banner {
  display: none;
}




/* Major Category section icon (3rd item) */
.page--s .search_form .search_item:nth-of-type(3) .search_item_head::before {
  font-family: 'Material Symbols Outlined';
  content: 'category';
  font-size: 22px;
  color: var(--oe-deep-teal);
}

/* Minor Category section icon (4th item) */
.page--s .search_form .search_item:nth-of-type(4) .search_item_head::before {
  font-family: 'Material Symbols Outlined';
  content: 'subdirectory_arrow_right';
  font-size: 22px;
  color: var(--oe-deep-teal);
}

/* schedule section icon */
/* Design: text-[22px] text-deep-teal */
.page--s .search_form .search_item:nth-of-type(5) .search_item_head::before {
  font-family: 'Material Symbols Outlined';
  content: 'calendar_check';
  font-size: 22px;
  color: var(--oe-deep-teal);
}

/* Freeword section icon */
/* Design: text-[22px] text-deep-teal */
.page--s #search_item_freeword .search_item_head::before {
  font-family: 'Material Symbols Outlined';
  content: 'edit_note';
  font-size: 22px;
  color: var(--oe-deep-teal);
}

/* OE Design: Freeword word_search full width */
.page--s .search_form .word_search {
  display: block;
  position: relative;
}

/* Freeword search icon */
/* Design: absolute right-3(12px) top-50% text-gray-300(#d1d5db) */
.page--s .search_form .word_search::after {
  font-family: 'Material Symbols Outlined';
  content: 'search';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #d1d5db;
  pointer-events: none;
}

/* Freeword input styling */
/* Design: py-4 px-4 pr-10(40px) border-gray-100(#f3f4f6) rounded-xl(12px) shadow-sm text-base(16px) */
.page--s .search_form input[type="text"][name="word"],
.page--s .search_form .word_search_wrap input[type="text"],
.page--s .search_form .word_search_wrap input[type="date"] {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 16px 40px 16px 16px !important;
  border: 1px solid #f3f4f6 !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  line-height: 1.5;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  outline: none;
  transition: all 0.2s;
  height: auto !important;
  margin: 0;
}

.page--s .search_form input[type="text"][name="word"]:focus,
.page--s .search_form .word_search_wrap input[type="text"]:focus,
.page--s .search_form .word_search_wrap input[type="date"]:focus {
  border-color: var(--oe-primary);
  box-shadow: 0 0 0 3px rgba(20, 217, 220, 0.15);
  outline: none;
}

/* Submit button styling */
/* Design: py-5(20px) text-base(16px) tracking-widest(0.1em) font-bold(700) rounded-full shadow-md */
.page--s .search_form .btn_submit,
.page--s .search_form button[type="submit"]:last-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 20px;
  background: var(--oe-deep-teal);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  margin-top: 32px;
}

.page--s .search_form .btn_submit:hover,
.page--s .search_form button[type="submit"]:last-of-type:hover {
  background: rgba(8, 85, 95, 0.9);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* Inline submit button in freeword section - hide (use main search button instead) */
.page--s .search_form .word_search_wrap button[type="submit"],
.page--s .search_form .word_search_wrap .search-submit,
.page--s .search_form .search_item:last-of-type button[type="submit"]:first-of-type {
  display: none;
}

/* Checkbox list styling - dropdown option items */
/* Design: block px-5(20px) py-4(16px) text-base(16px) text-gray-600(#4b5563) border-b border-gray-50(#f9fafb) */
.page--s .search_form .checkbox_list_area li {
  width: 100%;
}

.page--s .search_form .checkbox_list_area li a {
  display: block;
  padding: 16px 20px;
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
  background: transparent;
  border: none;
  border-bottom: 1px solid #f9fafb;
  border-radius: 0;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  text-align: left;
}

.page--s .search_form .checkbox_list_area li:last-child a {
  border-bottom: none;
}

.page--s .search_form .checkbox_list_area li a::after {
  display: none;
}

.page--s .search_form .checkbox_list_area li a:hover {
  background: rgba(20, 217, 220, 0.05);
  color: var(--oe-deep-teal, #08555f);
}

/* Hide checkboxes visually but keep functional for form submission */
.page--s .search_form .checkbox_list_area input,
.page--s .search_form .checkbox_list input {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}

/* Hide custom checkbox UI */
.page--s .search_form .checkbox_list_area .option_status,
.page--s .search_form .checkbox_list .option_status {
  display: none !important;
}

/* OE Design: checkbox_list for dynamic search_item sections (業種 etc.) - select box style */
/* Design: bg-white border-gray-100(#f3f4f6) rounded-xl(12px) shadow-xl overflow-hidden */
.page--s .checkbox_list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.04);
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}

.page--s .checkbox_list>li {
  padding: 0;
  width: 100%;
  font-size: 14px;
}

.page--s .checkbox_list>li>label,
.page--s .checkbox_list>li>a {
  display: block;
  padding: 16px 20px;
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  border-bottom: 1px solid #f9fafb;
  transition: color 0.15s, background 0.15s;
  cursor: pointer;
}

.page--s .checkbox_list>li:last-child>label,
.page--s .checkbox_list>li:last-child>a {
  border-bottom: none;
}

.page--s .checkbox_list>li>label:hover,
.page--s .checkbox_list>li>a:hover {
  background: rgba(20, 217, 220, 0.05);
  color: var(--oe-deep-teal, #08555f);
}

/* (checkbox_list input/option_status hiding is handled above) */
/* Sub-items */
.page--s .checkbox_list>li ul {
  padding: 0 0 0 28px;
  list-style: none;
}

.page--s .checkbox_list>li ul li {
  font-size: 13px;
}

/* More button styling (exclude search_item_open and oe_dropdown_toggle) */
.page--s .search_form .btn_more,
.page--s .search_form button[type="button"]:not(.search_item_open):not(.oe_dropdown_toggle) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px;
  font-size: 13px;
  color: #9ca3af;
  background: transparent;
  border: 1px dashed #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 8px;
}

.page--s .search_form .btn_more:hover,
.page--s .search_form button[type="button"]:hover {
  color: var(--oe-primary);
  border-color: var(--oe-primary);
}

/* Responsive: Mobile bottom sheet */
@media (max-width: 959.98px) {
  .page--s #side.search_left_wrap {
    width: 100%;
    position: fixed;
    inset: auto 0 0;
    z-index: 80;
    height: 90vh;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 24px 24px 0 0;
    order: unset;
    overflow-y: auto;
    background: #fff;
    padding-bottom: 120px;
  }

  .page--s #side.search_left_wrap.is-open,
  .page--s #side.search_left_wrap.active {
    transform: translateY(0);
  }

  .page--s .search_form {
    position: static;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .page--s .search_item {
    padding: 12px 0;
  }

  .page--s .search_item_head {
    margin-bottom: 8px;
  }
}


/* =============================================
   OE Title Area Overrides
   ============================================= */

/* Page title: large bold style */
/* Design: text-4xl(36px) font-black(900) */
.page--s .search_center_wrap__title {
  font-size: 36px;
  font-weight: 900;
  color: var(--oe-text-dark, #0f2f33);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  padding: 0;
}

/* Func area: flex between title and TOTAL */
.page--s .search_center_wrap__func {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 32px;
  padding: 0 0 32px;
  border-bottom: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
  .page--s .search_center_wrap__func {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .page--s .search_center_wrap__func .search_center_wrap__title {
    margin-bottom: 0;
  }
}

/* TOTAL counter */
.page--s .search_center_wrap__lead {
  font-size: 16px;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

.page--s .search_center_wrap__lead b {
  font-size: 24px;
  font-weight: 700;
  color: var(--oe-deep-teal, #08555f);
  padding: 0 4px;
}


/* =============================================
   OE Sidebar Section Overrides
   ============================================= */

/* Sidebar title */
/* Design: text-xl(20px) font-black(900) mb-8(32px) tracking-tighter(-0.05em) text-deep-teal */
.page--s .search_form::before {
  content: '条件を絞り込む';
  display: block;
  font-size: 20px;
  font-weight: 900;
  color: var(--oe-deep-teal, #08555f);
  letter-spacing: -0.05em;
  margin-bottom: 32px;
}

/* Search/Clear buttons */
/* Design: mt-8(32px) space-y-4(16px) */
.page--s .search_item_submit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  padding: 0;
}

/* Override base .btn max-width: 200px */
.page--s .search_item_submit .btn {
  max-width: none;
}

/* Design: py-5(20px) text-base(16px) tracking-widest(0.1em) font-bold(700) rounded-full shadow-md */
.page--s .search_item_submit .oe_search_btn {
  width: 100%;
  padding: 20px;
  background: var(--oe-deep-teal, #08555f);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page--s .search_item_submit .oe_search_btn:hover {
  background: rgba(8, 85, 95, 0.9);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

/* Design: py-4(16px) bg-white/70 border-gray-200(#e5e7eb) text-gray-500(#6b7280) text-base(16px) font-bold(700) */
.page--s .search_item_submit .oe_clear_btn {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: #6b7280;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page--s .search_item_submit .oe_clear_btn:hover {
  color: #ea580c;
  border-color: #fed7aa;
  background: #fff7ed;
}

/* Breadcrumb styling */
.page--s .bc_nav ol {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #9ca3af;
  list-style: none;
  padding: 0;
}

.page--s .bc_nav ol li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}

.page--s .bc_nav ol li a:hover {
  color: var(--oe-primary, #14d9dc);
}

/* Responsive title */
@media (max-width: 767.98px) {
  .page--s .search_center_wrap__title {
    font-size: 24px;
  }

  .page--s .search_center_wrap__func {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
}


/* =============================================
   OE Dropdown Select for Sidebar
   ============================================= */

/* Dropdown toggle button (design: エリアを選択 / カテゴリーを選択) */
/* Design: p-4(16px) bg-white border-gray-100(#f3f4f6) rounded-xl(12px) shadow-sm */
/* Label: text-base(16px) text-gray-500(#6b7280) font-medium(500) */
.page--s .oe_dropdown_toggle {
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 16px !important;
  background: #fff !important;
  border: 1px solid #f3f4f6 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px !important;
  line-height: 1.5;
  color: #6b7280;
  font-weight: 500;
  font-family: inherit;
  height: auto !important;
  margin: 0;
}

.page--s .oe_dropdown_toggle:hover {
  border-color: var(--oe-primary, #14d9dc);
}

.page--s .oe_dropdown_toggle .material-symbols-outlined {
  color: #d1d5db;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.page--s .oe_dropdown_toggle.is-open {
  border-color: var(--oe-primary, #14d9dc);
}

.page--s .oe_dropdown_toggle.is-open .material-symbols-outlined {
  transform: rotate(180deg);
  color: var(--oe-primary, #14d9dc);
}

/* Dropdown list container - hidden by default */
/* Design: rounded-xl(12px) border-gray-100(#f3f4f6) shadow-xl mt-2(8px) */
.page--s .oe_dropdown_list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 12px;
  border: none !important;
  padding: 0 !important;
  margin: 0;
  box-shadow: none;
}

.page--s .oe_dropdown_list.is-open {
  max-height: 400px;
  overflow-y: auto;
  margin-top: 8px;
  border: 1px solid #f3f4f6 !important;
  padding: 0 !important;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.04);
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #e5e7eb transparent;
}

/* Selected tags area */
.page--s .oe_selected_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 4px;
  margin-top: 8px;
}

.page--s .oe_selected_tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(20, 217, 220, 0.1);
  color: var(--oe-deep-teal, #08555f);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(20, 217, 220, 0.2);
  white-space: nowrap;
  max-width: 100%;
}

.page--s .oe_tag_remove {
  background: none;
  border: none;
  color: var(--oe-deep-teal, #08555f);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0 0 0 2px;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.page--s .oe_tag_remove:hover {
  opacity: 1;
}
