/**************************************************
* ヘッダー ※変更不可
***************************************************/
.l-header {
  position: relative;
  z-index: 100000;
  padding-bottom: 60px;
}

.l-header__inner {
  background-color: #F3EEE6;
  position: fixed;
  top: 0;
  left: 0;
  min-height: 60px;
  width: 100%;

  display: flex;
  align-items: center;
}

.l-header__logo {
  width: 160px;
  max-width: 160px;
  margin-left: 10px;
}

/* スマホ用 */
@media screen and (max-width: 320px) {
  .l-header__navG-menu-item {
    padding: 8px 0 !important;
  }
  #ac-hb01:checked ~ .l-header-purchase-goods-list {
    margin-top: 8px;
  }
}
/* .sp の中でTB */
@media screen and (min-width: 600px) {
  .l-header__logo {
    width: 146px;
    max-width: 146px;
    margin-top: 6px;
    margin-bottom: 5px;
  }
}
@media screen and (max-width: 1024px) {
  /* チェックボックスを非表示 */
  #navi input {
    display: none;
  }
  /* ハンバーガーメニュー */
  .l-header__nav-menu {
    float: right;
    margin-right: 10px;
    margin-top: 60px;
  }
  /* 項目 */
  .l-header__nav-menu-item {
    position: relative;
    white-space: nowrap;
    height: auto;
    width: 100%;
    border-bottom: 2px solid #fff;
    display: block;
/*    margin-right: -20px;*/
    margin-left: 0;
    margin-right: 0;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  .l-header__nav-menu-item a {
    display: block;
  }
  .l-header__nav-menu > .l-header__nav-menu-item {
    float: left;
    margin: 0;
    line-height: 60px;
    margin-right: -20px;
    color: #393636;
    font-weight: bold;
    text-align: left;
    display: block;
  }
  .l-header__nav-menu > .l-header__nav-menu-item:first-child {
    border-top: 2px solid #f3eee6;
  }
  .l-header__nav-menu > .l-header__nav-menu-item,
  .l-header__nav-menu-item a {
    color: #393636;
    font-weight: bold;
    font-size: 17px;
    font-size: 1.7rem;
  }
  .l-header__nav-menu-item:last-child {
    border-bottom: none;
  }
  .l-header__nav-menu > .l-header__nav-menu-item a {
    padding-left: 48px;
    padding-right: 10px;
  }
  .l-header__nav-menu > .l-header__nav-menu-item:first-child a {
    padding-left: 20px;
  }
  /* 遺品整理ページ用ボタン（HB） */
  .l-header-btn-ihin-icon__btn{
    max-width: 48px;
    width: auto;
    height: 3vh;
  }
  .l-application-btn__item-ihin{
    display: flex !important;
  }

  /* 買取商品一覧 */
  .l-header-purchase-goods {
    margin: 0;
  }
  .l-header-purchase-goods-ttl {
    position: relative;
    display: block;
    width: 100%;
    background: #f3eee6;
    padding: 0;
    cursor: pointer;
    color: #393636;
    font-weight: bold;
    font-size: 17px;
    font-size: 1.7rem;
    line-height: 1.6;
    padding-left: 48px;
  }
  .l-header-purchase-goods-ttl:hover {
    cursor: pointer;
    cursor: hand;
  }
  .l-header-purchase-goods-ttl:after,
  #ac-hb01:checked ~ .l-header-purchase-goods-ttl::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    font-size: 2rem;
    color: #393636;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
  .l-header-purchase-goods-ttl:after {
    content: "\f078";
    display: inline-block;
  }
  #ac-hb01:checked ~ .l-header-purchase-goods-ttl::after {
    content: "\f077";
  }
  #ac-hb01[type=checkbox]:checked ~ .l-header-purchase-goods-ttl ~ .l-header-purchase-goods-list__item {
    max-height: inherit;
    overflow-y: visible;
    display: block;
  }
  /* ハンバーガー内主な買取商品一覧 */
  .l-header-purchase-goods-list {
    position: static !important;
    top: -1px;
    left: 100%;
    margin-bottom: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    width: 90%;
    margin: auto;
  }
  .l-header-purchase-goods-list__item {
    display: none;
    background-color: #FFF;
    width: 32%;
    margin: 0;
    padding: 0.7%;
    margin-left: initial;
    position: relative;
    margin-bottom: 0.6em;
    margin-right: 2%;
  }
  .l-header-purchase-goods-list__item:hover {
    opacity: 0.8;
  }
  .l-header-purchase-goods-list__item:nth-child(3n) {
    margin-right: 0;
  }
  .l-header-purchase-goods-list__item a {
    padding-left: 0;
  }
  #ac-hb01:checked ~ .l-header-purchase-goods-list {
    height: auto;
    opacity: 1;
    margin-top: 15px;
  }
  .l-header__nav-menu > .l-header__nav-menu-item:has(#ac-hb01:checked) {
    padding-bottom: 0 !important;
  }
  .l-header-purchase-goods-list__item-ttl {
    padding: 0 5px;
    white-space: initial;
  }
  .l-header-purchase-goods-list__item-img {
    margin: 11% auto 0 !important;
  }
  /*CPバナー*/
  #menu li.lp-banner {
    border-bottom: none;
    width: 100%;
    padding: 2% 0;
    margin: 0;
  }
  #menu li.lp-banner img {
    display: block;
    max-width: 330px;
    width: 66%;
    margin: 0 auto;
  }
  .angletoggle:before {
    content: "\f107";
  }
  #navi input[type=checkbox]:checked ~ label .pd .angletoggle:before {
    content: "\f106";
  }
  /*　ハンバーガーボタン　*/
  .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 13px;
    top: 9px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }
  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    background: #393636;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }
  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 16px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .hamburger.active ul#menu {
    display: block;
  }
  /*　メニュー　*/
  .globalMenuSp {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
    color: #000;
    background: #f3eee6;
    text-align: center;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    height: calc(100% - 60px);
  }
  /* このクラスを、jQueryで付与・削除する */
  .globalMenuSp.active {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }

} /*max-1023px END*/


/*=================== TBここから ==================*/
@media screen and (min-width: 600px) {
  .l-header-nav.sp {
    display: block;
  }
    
  /*ボタン*/
  .l-header__nav-menu > .l-header__nav-menu-item .l-header__nav-menu-btn {
  display: block;
  }
  .l-header__nav-menu > .l-header__nav-menu-item .l-header__nav-menu-btn div{
      width: 100%;
      margin-bottom: 1.5em;
  }   

}
/*=================== TBここまで ==================*/
/*=================== PCここから==================*/
@media screen and (min-width: 1025px) {
  .l-header {
    padding-bottom: 66px;
  }
  
  .l-header-nav.sp {
    display: none;
  }
  .l-header {
    background-color: #F3EEE6;
  }

  /* メガメニュー */
  .l-header__megamenu {
    width: 100vw;
    position: relative;
    max-height: 0;
    height: auto;
    background: #FDFAF6;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    top: 66px;
    left: 0;
    transition: all .2s ease-in;
    z-index: 900;

  }
  .l-header__nav-menu-item--megamenu {
    transition: all .2s ease-in;
  }

  .l-header__nav-menu-item--megamenu:hover .l-header__megamenu {
    opacity: 1;
    max-height: 9999px;
  }

  .l-header__nav-menu-item-link {
    position: relative;
    transition: all .2s ease-in;
  }

 .l-header__nav-menu-item-link:before  {
    transition: all .2s ease-in;
    content: "";
    display: block;
    position: absolute;
    left: calc(50% - 1em);
    bottom: -28px;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    width: 19px;
    height: 17px;
    max-height: 9999px;
    background: inherit;
  }
  .l-header__nav-menu-item--megamenu:hover .l-header__nav-menu-item-link:before  {
    background: #FDFAF6;
  }

  
  .l-header__megamenu-list {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    max-width: 1280px;
    padding : 20px 20px 10px;
  }

  .l-header__megamenu-list-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: calc(100% / 6 - 9px);
    min-height: 50px;
    background: #FFF;
    padding: 8px;
    margin-right: 10.8px;
    margin-bottom: 10px;
  }
  .l-header__megamenu-list-item:nth-child(6n) {
    margin-right: 0;
  }
  .l-header__megamenu-list-item a {
    width: 0;
    margin-right: 0 !important;
  }
  .l-header__megamenu-list-item.another-menu a {
    width: 100%;
    display: flex;
  }
  
  .l-header__megamenu-list-item-img {
    width: calc(23% - 10px);
    margin-right: 10px;
  }
  .l-header__megamenu-list-item--ttl {
    width: 77%;
    font-weight: 500;
  }

  /*入り切らないメニューをHB表示*/
  /*------------------------------
    flex
    ------------------------------*/
  /*------------------------------
  ヘッダー ロゴ、メニュー
  ------------------------------*/
  /*メニュとCTAの割合*/
  /*メニュー*/
}

@media screen and (min-width: 1025px) {
  .l-header__inner, .l-header-nav-inner, .l-header__nav-menu, .l-header__nav-panel {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .l-header .l-header__inner {
    width: 100%;
    height: 67px;
    margin: 0 auto;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 0;
    z-index: 1000;
  }
  .l-header__logo {
    max-width: 180px;
    height: auto;
    width: 12%;
  }
  .l-header-nav.pc {
    height: 66px;
    width: 87%;
  }
  .l-header-nav-inner {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .l-header__nav-panel {
    height: 66px;
  }
  .l-header__nav-panel-item {
    text-align: center;
  }
  .l-header__nav-panel-item.icon-ihin,
  .l-header__nav-panel-item.icon-shop,
  .l-header__nav-panel-item.icon-line {
    width: 110px;
  }
  .l-header__nav-panel-item.icon-tel {
    width: 20%;
    max-width: 265px;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
  .l-header__nav-menu-item a {
/*
    font-size: 18px;
    font-size: 1.8rem;
*/
    font-size: calc((100vw - 1438px) / 160.6 + 13px);
    color: #313131;
    font-weight: 500;
    line-height: 4;
    margin-right: 1.5em;
  }

  .l-header__nav-panel-item.icon-ihin,
  .l-header__nav-panel-item.icon-shop,
  .l-header__nav-panel-item.icon-line {
    border-right: 1px solid #fff;
  }
  .l-header__nav-panel-item.icon-shop {
    background: #EC9446;
	  position: relative;
  }
  .l-header__nav-panel-item.icon-ihin {
    background: #0f99a3;
	  position: relative;
  }
  .l-header__nav-panel-item.icon-line,
  .l-header__nav-panel-item.icon-tel {
    background: #308359;
  }
  .l-header__nav-panel-ttl {
    margin-top: .3em;
  }
  .l-header__nav-panel-ttl,
  .l-header__nav-panel-item i,
  .l-header__nav-panel-item.icon-tel {
    font-size: 15px;
    font-size: 1.5rem;
    color: #fff;
  }
  .l-header__nav-panel-item i {
    font-size: 28px;
    font-size: 2.8rem;
/*    margin-top: 0;*/
  }
  .l-header__nav-panel-item.icon-shop a::after {
    content: "";
    background: url(../../images/common/l-footer-shop-icon-footer.png) 0 0 no-repeat;
    background-size: contain;
/*    top: 4px;*/
    position: absolute;
    display: block;
    width: 27px;
    height: 21px;
    margin: auto;
	left: 50%;
    transform: translateX(-50%);
	      margin-top: 2px;
  }

  .l-header__nav-panel-item.icon-ihin a::after {
    content: "";
    background: url(../../images/common/ihin_icon-header.png) 0 0 no-repeat;
    background-size: contain;
    position: absolute;
    display: block;
    width: 34px;
    height: 22px;
    margin: auto;
	left: 50%;
    transform: translateX(-50%);
	      margin-top: 2px;
  }
 
  .l-header__nav-panel-item.icon-tel {
    position: relative;
  }
  .l-header__nav-panel-item.icon-tel::before {
    content: "";
    display: inline-block;
    background-size: 100%;
    position: absolute;
  }
  .l-header__nav-panel-item.shop_dial::before {
    background: url("../../images/common/l-header-nav-icon-fre.png") 0 0 no-repeat;
    background-size: contain;
    width: 31px;
    height: 19px;
    margin-top: 11px;
    left: 27px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  
  .l-header__nav-panel-item.honbu_tel::before,
  .l-header__nav-panel-item.shop_tel::before {
    background: url("../../images/common/l-header-nav-icon-tel.png") 0 0 no-repeat;
    background-size: contain;
    width: 19px;
    height: 22px;
    top: 49%;
    left: 43px;
  }
  .l-header__nav-panel-item.shop_dial .l-header__nav-panel-ttl,
  .l-header__nav-panel-item.honbu_tel .l-header__nav-panel-ttl {
    margin-bottom: 6px;
    margin-left: -11px;
  }
  .l-header__nav-panel-item.shop_tel .l-header__nav-panel-ttl {
    margin-bottom: 6px;
  }
.l-header__nav-panel-item .tel-num {
    display: block;
    margin-left: 2px;
		font-size: 17px;
    font-size: 1.7rem;
}
    
}
/*=================== PCここまで ==================*/