@charset "UTF-8";

:root {
  --theme-main-color: #1A1A1C;
  --text-normal: #333333;
  --border-gray: #D5D8DA;
  --background-gray: #F3F5F6;
  --text-gray: #606163;
  --text-light-gray: #9EA3A7;
}

header {
  display: flex;
  align-items: center;
  background: #fff;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  /* 親メニューをrelativeに */
  /* マウスオーバーしたときにカーソルを変更 */
  /* 子メニューを持つ親メニューにマウスホバーしたとき副項目を表示 */
  /* サブメニューをabsoluteにして親メニューの下に配置。*/
}

header a {
  text-decoration: none;
  color: var(--text-normal);
}

header .drawer {
  display: none;
}

header .logo-img {
  margin: 16px 32px !important;
}

header .header-nav {
  margin: 0 32px 0 auto;
}

header .header-items,
header .sub-menu {
  list-style: none;
  display: flex;
  margin: 0;
  font-weight: 700;
  font-size: 14px;
}

header .menu-item {
  margin-right: 30px;
  height: 80px;
  display: flex;
  align-items: center;
}

header .menu-item .sub-menu-blick {
  margin-right: 40px;
}

header .menu-item .sub-menu {
  padding: 0;
}

header .menu-item .sub-menu li {
  position: relative;
  padding-left: 38px;
}

header .menu-item .sub-menu li::before {
  content: url(../images/service-icon.svg);
  padding-right: 6px;
  position: absolute;
  left: 0;
  top: 0;
}

header .menu-item .sub-menu a {
  white-space: nowrap;
}

header .menu-item-has-children:hover .header-nav-child {
  display: block;
}

header .header-nav-child {
  display: none;
  position: absolute;
  top: 80px;
  left: 0;
  /* background: #F7F7F7;
  border-top: solid 1px #DDDDDD;
  padding: 20px 0 40px 0; */
  z-index: 100;
  width: 100%;

  padding: 24px 40px 40px;
  position: absolute;
  width: 504px;

  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.08);
}

header .header-nav-child .flex {
  display: flex;
  gap: 24px;
}

header .header-nav-child .flex a {
  width: 200px;
}

a.nav-child-service .service_archive_body {
  padding: 16px 0 0;
}

a.nav-child-service .service_archive_body .front-service_archive_ttl {
  font-size: 14px;
}

a.nav-child-service .service_archive_body p {
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 0;
}


header .header-nav-child .sub-menu-title {
  color: #1A1A1C;
  font-size: 18px;
  margin-bottom: 20px;
  margin-top: 20px;
}

header .header-nav-child .sub-menu-title:first-child {
  margin-top: 0;
}

header .header-nav-child>.menu-item:not(:last-child) {
  border-bottom: 1px solid #eee;
}

header .header-nav-child>.menu-item a {
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 0.5em 0;
}

header .header-nav-child>.menu-item a:hover {
  background: black;
}

header .sub-menu {
  display: flex;
  flex-direction: column;
}

header .sub-menu li {
  margin-right: 0;
  margin-bottom: 14px;
  height: auto;
}

header .sub-menu li:last-child {
  margin-right: 0;
  margin-bottom: 0px;
}

header .inquiry-button {
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

/* header .inquiry-button .icon {
  margin: 0 4px 4px 0;
} */

/* header .document-button {
  border-radius: 4px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
  margin-right: 16px;

  display: flex;
  align-items: center;
  gap: 4px;
  background: #00ABFD;
  color: #fff;
}

header .document-button:hover {
  color: var(--text-gray) !important;
}

header .document-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(36%) saturate(341%) hue-rotate(54deg) brightness(117%) contrast(103%);
} */

header .arrow-down {
  margin: 0 0 4px 6px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--text-normal);
  border-right: 2px solid var(--text-normal);
  transform: rotate(135deg);
}

#header-2 {
  background-color: #fff;
  height: 72px;
}

/* SP */
@media screen and (max-width: 800px) {
  header {
    justify-content: space-between;
    height: 64px;
  }

  header .header-nav {
    display: none;
  }

  header .menu-item a {
    color: var(--text-normal);
  }

  header .menu-item.active {
    border-top: none;
  }

  header #sub-menu-block li {
    color: #999;
  }

  header .drawer {
    display: block;
  }

  header .drawer__inquiry-button a,
  header .drawer__document-button a {
    width: calc(100% - 40px);
    /* display: block;
    text-align: center; */
    margin: 17px 20px 0;
    padding: 0;
    height: 56px;
    line-height: 56px;
    border-radius: 2px;
  }

  header .drawer__document-button a {
    margin-top: 40px;
  }

  header .inquiry-button-wrapper {
    margin: 8px 64px 8px 0;
  }

  header .inquiry-button {
    padding: 8px 12px;
  }

  /* チェックボックスを非表示 */
  .drawer-hidden {
    display: none;
  }

  /* ハンバーガーアイコン外枠 */
  .drawer-open {
    display: flex;
    height: 24px;
    width: 32px;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 18px;
    right: 18px;
    color: #F8F8F8;
    z-index: 100;
    cursor: pointer;
  }

  .drawer-logo {
    width: 131px;
    position: absolute;
    top: 26px;
    left: 20px;
    filter: brightness(0) saturate(100%) invert(0%) sepia(12%) saturate(3941%) hue-rotate(323deg) brightness(88%) contrast(87%);
  }

  /* メニュー(非表示中)*/
  .drawer-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    pointer-events: none;
    background-color: var(--theme-gray-bg);
    margin: 0;
    padding-top: 5rem;
    transition: all 0.5s;
    opacity: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }

  .drawer-content .drawer-list {
    margin: 0 20px;
    padding: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 160%;
    text-align: center;
    color: var(--text-normal);
  }

  .drawer-content .drawer-list .menu-item {
    border-bottom: 1px solid #ddd;
    height: auto;
    margin: 0;
    padding: 18px 0;
    display: block;
    text-align: left;
  }

  .drawer-content .drawer-list .menu-item a {
    width: 100%;
    text-align: left;
  }

  .drawer-content .drawer-list .menu-item#accordionBtn {
    position: relative;
  }

  .drawer-content .drawer-list .menu-item#accordionBtn::after {
    content: "";
    display: block;
    border-top: 2px solid #333333;
    border-right: 2px solid #333333;
    transform: rotate(135deg);
    width: 8px;
    height: 8px;
    position: absolute;
    right: 4px;
    top: 24px;
    pointer-events: none;
    transition-duration: 0.4s;
  }

  .drawer-content .drawer-list .menu-item#accordionBtn.is-active::after {
    border-top: 2px solid #333333;
    border-right: 2px solid #333333;
    transform: rotate(-45deg);
    width: 8px;
    height: 8px;
  }

  .drawer-content .drawer-list .menu-item #sub-menu-block {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition-duration: 0.4s;
    padding-left: 20px;
  }

  .drawer-content .drawer-list .menu-item #sub-menu-block.is-open {
    height: auto;
    opacity: 1;
  }

  .drawer-content .drawer-list .menu-item #sub-menu-block li {
    border: none;
  }

  .drawer-content .drawer-list .menu-item #sub-menu-block li:first-child {
    padding-top: 20px;
  }

  /* アイコンがクリックされたらメニューを表示 */
  #drawer-check:checked~.drawer-content {
    opacity: 1;
    pointer-events: auto;
  }

  /* メニューの装飾 */
  ul.drawer-list {
    list-style-type: none;
  }

  /* ハンバーガーメニューのアイコン */
  .drawer-open span,
  .drawer-open span:before,
  .drawer-open span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #1A1A1C;
    transition: 0.5s;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
  }

  /* 三本線のうち一番上の棒の位置調整 */
  .drawer-open span:before {
    bottom: 8px;
    top: unset;
  }

  /* 三本線のうち一番下の棒の位置調整 */
  .drawer-open span:after {
    top: 8px;
    bottom: unset;
  }

  /* アイコンがクリックされたら真ん中の線を透明にする */
  #drawer-check:checked~.drawer-open span {
    background: rgba(255, 255, 255, 0);
  }

  /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
  #drawer-check:checked~.drawer-open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #drawer-check:checked~.drawer-open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .pc-only {
    display: none !important;
  }

  .inquiry-header {
    margin: auto;
  }
}
