@charset "utf-8";

/* スマホ（〜767px） */
@media (max-width: 767px) {
  /* スマホ専用スタイル */
}

/* タブレット（768px〜1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
  /* タブレット専用スタイル */
}

/* PC（1025px〜） */
@media (min-width: 1250px) {
  /* PC専用スタイル */
}

/*PCスマホ表示切り替え用*/
.header_pc {display: none;}
.header_sp {display: block;}
.header_inline_sp { display: inline; }
.header_inline_pc { display: none; }
@media screen and ( min-width: 1250px ) {
  .header_sp {display: none !important;}
  .header_pc {display: block;}
  .header_inline_sp { display: none; }
  .header_inline_pc { display: inline; }
}


.header { position: fixed; top: 0; right: 0; left: 0; width: 100vw; z-index: 1000; }
.header_wrap { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: #FFF; border-bottom: 1px solid #CBCBCB; }

@media (min-width: 1250px) {
  .header_wrap { gap: 24px; }
}
@media (min-width: 1470px) {
  .header_wrap { gap: 40px; height:100px; padding: 20px 5vw }
}


/*----- ロゴ -----*/
.header_logo_link { display: flex; flex-direction: column; }
.header_logo_link .header_logo_sub { font-size:12px; line-height:1.2em; margin-bottom:5px; margin-left:2px; }
.header_logo_link .header_logo_img { width: 180px; }

@media (min-width: 1470px) {
  .header_logo_link { flex-grow: 1; }
  .header_logo_link .header_logo_sub { font-size: 14px; line-height:2em; margin-bottom:initial; margin-left:initial;}
  .header_logo_link .header_logo_img { width: 220px; }
}

/*----- メニュー -----*/
.header_menu { position: absolute; top: 0; bottom: 0; left: 0; right: 0; display: none; width: 100vw; height: 100vh; overflow-y: scroll; padding-top: 65px; background: #FFF; z-index: -1; }
.header_wrap.open .header_menu { display: block; }
.header_copy { display: none; }
/* メニュー全体 */
.header_menu_list_li { border-bottom: 1px solid #CBCBCB; white-space: nowrap; }
.header_menu_list_li.border_b { border-bottom: 1px solid #343330; }
.header_menu_name { display: flex; align-items: center; justify-content: space-between; width: 100vw; padding: 14px 5vw; }
.header_menu_list_plus { display: inline-block; width: 16px; object-fit: cover; transition: all 1s cubic-bezier(.23,1,.32,1); }
.header_menu_list_li.open .header_menu_list_plus { height: 2px; }

/* サブメニュー */
.header_submenu_wrap { display: none; padding: 16px 5vw; background: #F4F4F4; }
.header_menu_list_li.open .header_submenu_wrap { display: block; }
.header_submenu_category { display: none; }
.header_submenu_list { display: flex; flex-direction: column; gap: 8px; }
.header_submenu_list.voice_buy { margin-top:8px; }
.header_submenu_list.voice_sell { margin-top:8px; }
.header_submenu_list.voice_seform { margin-top:8px; }
.sp_border_bottom { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid #CBCBCB; }
.header_submenu_list.pc { display: none; }
.header_submenu_list.tow_columns_sp { display: flex; flex-wrap: wrap; flex-direction: row; gap: 8px 12px; }
.header_submenu_list.tow_columns_sp .header_submenu_list_li { width: calc(50% - 8px); }
.header_submenu_top_link, .header_submenu_link { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.header_submenu_symbol { width: 20px; padding: 4px; }
.header_menu a.current { color:#529535;}

/*スタッフ検索*/
.staff_search_form { display: flex; align-items: stretch; width: 100%; line-height: 1em; font-size: 16px;}
.staff_search_input { flex-grow: 1; padding: 12px 18px; border-top-left-radius: 4px; border-bottom-left-radius: 4px; border: 1px solid #343330; border-right: none; background: #FFF; }
.staff_search_input::placeholder { color: #bbb; }
.staff_search_button { padding: 12px 18px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border: 1px solid #529535; background: #529535; }
/* メニュー下 */
.header_menu_bottom { display: flex; justify-content: right; align-items: center; gap: 24px; width: 100%; padding: 16px 5vw; }
.header_menu_bottom_line { padding: 12px 20px; background: #66BE52; line-height: 1em; }

@media (min-width: 1250px) {
  .header_menu { position: static; display: flex; flex-direction: column; gap:6px; width: fit-content; height: auto; overflow-y: hidden; padding: 0; font-weight: 600; z-index: auto; }
  /* メニュー上部 */
  .header_menu_list { display: flex; align-items: center; gap: 2vw;  }
  .header_menu_list_li { flex: 1; border: none; }
  .header_menu_name { display: inline; padding: 0; font-size: 14px; font-weight: 600; }
  .header_menu_name span { padding: 16px 0; }
  .header_menu_name span span { padding: 0; }
  .header_menu_name_strong { font-size: 14px; font-weight: 700; }
  /* メガメニュー */
  .header_submenu_wrap { position: absolute; top: 0; right: 0; left: 0; width: 100vw; display: none; padding-top:100px; padding-bottom:20px; background: #FFF; border-bottom: 1px solid #CBCBCB; z-index: -1; }
  .header_submenu_wrap.four_columns_pc { flex-wrap: wrap; }
  .header_menu_list_li.open .header_submenu_wrap { display: flex; gap: 40px; }
  .header_submenu_wrap_li { min-width: calc(calc(100% - 160px) / 5); }
  .header_submenu_wrap_li.tow_columns_pc { width: calc(calc(calc(100% - 160px) / 2.5) + 40px); }
  .header_submenu_wrap.six_columns_pc .header_submenu_wrap_li { min-width: calc(calc(100% - 200px) / 6); }
  .header_submenu_wrap.four_columns_pc .header_submenu_wrap_li { min-width: calc(calc(100% - 120px) / 4); }
  .header_submenu_category { display: block; padding-bottom: 12px; border-bottom: 1px solid #CBCBCB;  }
  .header_submenu_category.border_none { border: none; }
  .header_submenu_list { /*gap:12px !important;*/ margin-top: 12px; }
  .header_submenu_list.three_rows_pc { flex-wrap: wrap; height: 100px; }
  .header_submenu_list.four_rows_pc { flex-wrap: wrap; height: 175px; }
  .sp_border_bottom { padding-bottom: 0; margin-bottom: 0; border: none; }
  .header_submenu_list.tow_columns_sp { flex-direction: column; }
  .header_submenu_top_link { font-size: 16px; }
  .staff_search_form { font-size: 16px !important; }
  .staff_search_button { padding: 12px 24px; }
}
@media (min-width: 1470px) {
  .header_copy { display: block; font-weight:normal; }
  .header_menu_name span { padding: 0; }
  .header_submenu_wrap { padding: 120px max(5vw, calc(50vw - 600px)) 40px; padding-bottom:20px; }
}

/*----- アイコン -----*/
.header_icon_wrap { display: flex; align-items: center; gap: 12px; }
.header_icon_wrap .header_icon_text { display: none; }
.header_favorite_wrap, .header_history_wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; }
/* 保存 */
.header_favorite_wrap .header_favo { position: relative; height: 28px; aspect-ratio: 1/1; }
.header_favorite_wrap .header_favo .favo-icon { width: 28px; aspect-ratio: 1 / 1; margin-top:2px; }
.header_favorite_wrap .header_favo .favo-icon path { fill: #CBCBCB; }
.header_favorite_wrap .header_favo .favo-count { display: none; }
.header_favorite_wrap .header_favo.active .favo-icon path { fill: #E17461; }
.header_favorite_wrap .header_favo.active .favo-count { position: absolute; top: 0; bottom: 0; right: 0; left: 0; display: block; width: fit-content; height: fit-content; margin: auto; font-size: 12px; line-height: 1em; letter-spacing: 0; }
/* 履歴 */
.header_history_wrap .header_hist { position: relative; height: 28px; aspect-ratio: 1/1; }
.header_history_wrap .header_hist .hist-icon { width: 28px; aspect-ratio: 1 / 1; }
.header_history_wrap .header_hist .hist-icon path { fill: #CBCBCB; }
.header_history_wrap .header_hist.active .hist-icon path { fill: #529535; }
/* LINE */
.header_line_wrap .header_line { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 40px; aspect-ratio: 1 / 1; border-radius: 2px; background:#06C755; }
.header_line_wrap .header_line .header_line_icon { display: none; }
.header_line_wrap .header_line .header_line_text { line-height: 1.23em; text-align: center; font-size:11px; }
.header_line_wrap .header_line .header_line_text span { display: none; }
@media (min-width:1025px) {
  .header_line_wrap .header_line {border-radius:5px;  }
  .header_line_wrap .header_line .header_line_text { font-size:13px; }
  .header_favorite_wrap .header_favo .favo-icon { margin-top:initial; }
}
/* menu_line */
.header_menu_line { position: relative; display: block; width: 30px; aspect-ratio: 1 / 1; }
.header_menu_line span { position: absolute; display: block; width: 30px; height: 2px; background: #343330; transition: all 1s cubic-bezier(.23,1,.32,1); }
.header_menu_line span:nth-child(1) { top: 2px; }
.header_menu_line span:nth-child(2) { top: 14px; }
.header_menu_line span:nth-child(3) { top: 26px; }
.header_wrap.open .header_menu_line span:nth-child(1) { transform: translateY(12px) rotate(45deg); transform-origin: 50% 50%; }
.header_wrap.open .header_menu_line span:nth-child(2) { opacity: 0; }
.header_wrap.open .header_menu_line span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); transform-origin: 50% 50%; }

@media (min-width: 1250px) {
  .header_icon_wrap { gap: 20px; }
  .header_icon_wrap::before { content: ''; display: block; width: 1px; height: 40px; background: #343330; }
  /* 保存・履歴 */
  .header_icon_wrap .header_icon_text { display: inline; font-size: 12px; line-height: 1em; }
  /* menu_line */
  .header_menu_line { display: none; }
}











