/* IOSでwp_is_mobile()の動作が保証できないためcssによってデバイスごとの表示を変更する*/
@media only screen and (min-width: 601px) {
  .l-header {
    /* ウリドキモールのヘッダーで使われているフォントと同じものを使う*/
    font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  }

  .user_menu,
  .visitor_menu {
    display: flex;
  }

  .searchBtn {
    display: none !important;
  }

  .siteTitle {
    text-align: left !important;
    margin-left: 0 !important;
  }

  .container-header {
    display: flex !important;
    justify-content: space-between;
  }

  .flex {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
  }

  .centering {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* PC時: ご利用ガイドアイコンのスタイル*/
  .guide_icon {
    width: 16px;
    height: 16px;
  }

  .header_nav_pc div.icon {
    border-radius: 50vh;
    font-size: 15px;
    color: white;
    background-color: #565757;
    width: 24px;
    height: 24px;
    margin-left: 16px;
    margin-right: 4px;
  }

  .header_nav_pc a {
    display: block;
    color: #565757;
    font-weight: bold;
    text-decoration: none;
    transition: .3s;
  }

  .header_nav_pc a:hover,
  .header_pc_links a:hover {
    opacity: 0.6;
  }

  .header_pc_links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1170px;
    align-items: center;
    margin: 5px auto 15px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1.2rem !important;
  }

  .header-megaMenu__title {
    padding-block: 1em;
    color: #565757;
    font-weight: bold;
  }

  .header-megaMenu__title:hover {
    cursor: pointer;
  }

  .header-megaMenu__details {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 60px 0;
    background-color: #fff;
    font-size: 14px;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    z-index: -1;
    transition: .2s linear;
  }

  .header-megaMenu__details.is-show {
    visibility: visible;
    opacity: 1;
    z-index: 1000;
  }

  .header-megaMenu__list {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: center;
    column-gap: 2em;
    margin: 0;
    padding: 0;
  }

  .header-megaMenu__list li {
    list-style: none;
  }

  .header-megaMenu__list > li {
    padding-inline: 2em;
  }

  .header-megaMenu__list .sub-menu {
    display: flex;
    flex-direction: column;
    row-gap: 1em;
    margin-block-start: 1em;
  }

  .header-megaMenu__list .sub-menu > li {
    padding-inline-start: 1em;
  }
}

@media only screen and (max-width: 600px) {
  .header_pc_links {
    display: none !important;
  }

  .breadcrumb__list {
    /* ドロワーメニューを表示するため水平方向の余白を削除した余白をぱんクズだけ追加 */
    padding: 0 15px;
  }

  .header_nav_pc {
    display: none !important;
  }

  .container {
    /* ドロワーメニューを表示するため水平方向の余白を削除 */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .nav-drawer__icon {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    position: absolute;
    width: 43px;
    height: 43px;
    padding-left: 10px;
    top: -10px;
    /* l-header についてるpadding-topを埋めるため*/
    left: 10px;
  }

  .nav-drawer__icon span {
    top: 25px;
    position: absolute;
    height: 2px;
    width: 25px;
    border-radius: 3px;
    background: #000000;
    display: block;
    content: "";
    cursor: pointer;
  }

  .nav-drawer__icon span::before {
    bottom: -7px;
  }

  .nav-drawer__icon span::after {
    bottom: 7px;
  }

  .nav-drawer__icon span::before,
  .nav-drawer__icon span::after {
    position: absolute;
    height: 2px;
    width: 25px;
    border-radius: 3px;
    background: #000000;
    display: block;
    content: "";
    cursor: pointer;
  }

  /* default配置は左端だが、右端に上書きする*/
  .searchBtn {
    left: auto !important;
    right: 15px !important;
  }

  .t-headerCenter .searchBtn__link::after {
    content: "記事検索" !important;
  }

  .header-megaMenu {
    padding-inline-start: 15px;
  }

  .header-megaMenu__title {
    margin-inline: 4px;
    color: #ffffff;
  }

  .header-megaMenu__details {
    padding-block: 1em;
  }

  #nav_menu .header-megaMenu__list li {
    display: block;
    padding-block: 0;
    padding-inline: 0;
    border: none;
  }

  #nav_menu .header-megaMenu__list li a {
    display: block;
    margin: 0;
    padding-block: 15px;
    border-bottom: 1px solid #737373;
  }

  #nav_menu .header-megaMenu__list .sub-menu a {
    padding-inline-start: 1em;
  }

  #nav_menu li:has(.header-megaMenu) {
    position: relative;
  }

  #nav_menu li:has(.header-megaMenu) i {
    display: flex;
    align-items: center;
    position: absolute;
    top: 15px;
    left: 15px;
  }
}

/* .header-megaMenu__list li:not(.parent) a {
  padding-inline-start: 1em;
} */

@-webkit-keyframes fadeInRight {
  from {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }

  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

@-webkit-keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

#nav_menu {
  position: absolute;
  left: 0px;
  background-color: rgb(38, 38, 38);
  width: 185px;
  height: fit-content;
  max-height: calc(100svh - var(--header-height));
  animation-duration: 0.6s;
  animation-fill-mode: both;
  z-index: 1000;
  top: 42px;
  /* モールのデザインと合わせるのでl-headerの高さを開けるため*/
  list-style: none;
  /* ウリドキモールのヘッダーで使われているフォントと同じものを使う*/
  font-family: 'Lucida Grande', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  overflow: auto;
}

#nav_menu li {
  display: flex;
  align-items: center;
  border-top: solid 1px #737373;
  font-size: 13px;
  color: #ffffff;
  padding: 15px;
}

#nav_menu li:first-child {
  border-top: none;
}

#nav_menu li a {
  margin: 0 4px;
}

/* スマホ時: nav_menu のご利用ガイドアイコンのスタイル */
#nav_menu .guide_icon_sp {
  width: 13px;
  height: 13px;
}

.hidden {
  display: none !important;
}

.jsc-full-screen {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: #000000;
  opacity: .3;
  z-index: 900;
  top: 0;
}

.overlay_not_scrollable {
  height: 100vh;
  overflow-y: hidden;
}

.hidden-text {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}