/* ヘッダー */
@media (min-width: 1000px) {
  .l-header__body.l-container {
    display: flex;
    max-width: unset;
    padding-left: 0;
    padding-right: 0;
  }
  .l-header__right,
  .l-header__body .c-gnavWrap,
  .l-header__body .c-gnavWrap .c-gnav {
    width: 100%;
  }
  .l-header__center {
    padding: 10px 0 10px 25px;
    width: 175px;
    margin: 0 15px 0 0;
  }
  .l-header__body .c-gnavWrap .c-gnav > .menu-item:last-child {
    margin: 0 0 0 auto;
  }
  .l-header__body .c-gnavWrap .c-gnav > .menu-item > a {
    font-size: 12px;
    padding: 16px 8px;
    font-weight: bold;
    transition: all .3s ease;
  }
  .l-header__body .c-gnavWrap .c-gnav > .menu-item > a:hover {
    opacity: .6;
  }
  .l-header__body .c-gnavWrap .c-gnav > .menu-item:last-child > a {
    background: #333;
    color: #fff;
    flex-direction: row;
    align-items: center;
    padding: 16px 35px;
  }
  .l-header__body .c-gnavWrap .c-gnav > .menu-item:last-child > a::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url(../../assets/img/contact_icon.svg) no-repeat center / contain;
    margin: 0 8px 0 0;
  }
}
@media (min-width: 1200px) {
  .l-header__center {
    margin: 0 25px 0 0;
    width: 320px;
  }
  .l-header__body .c-gnavWrap .c-gnav > .menu-item > a {
    padding: 16px 15px;
  }
  .l-header__body .c-gnavWrap .c-gnav > .menu-item:last-child > a {
    padding: 16px 60px;
  }
}
@media (min-width: 1400px) {
  .l-header__center {
    flex-shrink: 0;
  }
}

/* フッター */
.l-footer {
  background: #efefef;
}
.l-footer .l-footer__widgets .-widget2 > .c-widget > iframe {
  width: 100%;
}
.l-footer .l-footer__foot {
  padding-bottom: 0;
}
.l-footer .c-copyright {
  background: #fff;
  margin: 0 calc(50% - 50vw);
  padding: 1rem;
}

/* ページャー */
.c-pager {
  display: flex;
  justify-content: center;
}
.c-pager__prev,
.c-pager__next {
  text-decoration: none;
  color: #333;
}
.c-pager__prev {
  margin: 0 8px 0 0;
}
.c-pager__next {
  margin: 0 0 0 8px;
}
.c-pager__item {
  padding: 0 8px;
  margin: 0 8px;
  color: #abb8c3;
}
.c-pager__item.-current {
  color: #333;
}
/* カテゴリ */
.c-cats {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0 !important;
}
.c-cats .c-cats__item {
  font-size: 0.8rem;
  margin: 12px 12px 6px 0;
  list-style: none;
}
.c-cats .c-cats__item span,
.c-cats .c-cats__item a {
  border: 1px solid #333;
  border-radius: 16px;
  padding: 0.1em 0.8em 0em;
  display: block;
}
.c-cats .c-cats__item a {
  text-decoration: none;
  transition: all ease-in-out .3s;
}
.c-cats .c-cats__item a:hover {
  opacity: .7;
}
.c-cats .c-cats__item--business span,
.c-cats .c-cats__item--business a {
  background: #333;
  color: #fff;
}
.c-cats .c-cats__item--type span,
.c-cats .c-cats__item--type a {
  color: #333;
}
/* ウィジェット */
.c-widget.widget_block.widget_categories {
  font-weight: bold;
}
/* HubSpot */
#hubspot-messages-iframe-container.widget-align-right {
  bottom: 100px !important;
}
/* TOPへ戻るボタン */
.p-fixBtnWrap {
  bottom: 24px;
}
/* タグ */
.tag-cloud-link {
  background: #efefef;
}

/* トップページ */
.p-index-works__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px 0;
  padding-left: 0 !important;
}
.p-index-works__item {
  margin: 0 !important;
}
.p-index-works__item::marker {
  content: none;
}
.p-index-works__item a {
  box-shadow: var(--arkb-shadow);
  display: block;
  text-decoration: unset;
}
.p-index-works__thumbnail {
  position: relative;
  height: 0;
  padding-top: 56.25%;
}
.p-index-works__thumbnail img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}
.p-index-works__txt {
  padding: 1em;
}
.p-index-works__title {
  color: #333;
  font-weight: bold;
  margin-bottom: 0.5em;
}
.p-index-works__title-honorific {
  font-size: .9em;
}

@media (min-width: 600px) {
  .p-index-works__list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (min-width: 1000px) {
  .p-index-works__list {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }
}

.wp-block-latest-posts__post-title {
  color: #333;
  font-weight: bold;
  text-decoration: unset;
}


/* ブログアーカイブ（archive.php） */
body.blog .p-postList {
  display: none;
}
body.blog .wp-block-categories .children {
  height: auto;
  opacity: 1;
  visibility: visible;
}
body.blog .p-home .wp-block-categories li a {
  font-size: .9rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}
body.blog .p-home .wp-block-categories li a::before {
  content: "";
  display: inline-block;
  background: url(../../assets/img/blog_category_icon.svg) no-repeat center / contain;
  width: 19px;
  height: 19px;
  margin: 0 8px 0 0;
  flex-shrink: 0;
}
body.blog .p-home .wp-block-categories li a + .children a {
  font-size: .9em;
}
body.blog .p-home .wp-block-categories > li > .children > li > .children > li > .children > li > a {
  padding-left: 4rem;
}
body.blog .p-home .wp-block-categories li a + .children a::before {
  width: 15px;
  height: 15px;
}
body.blog .c-submenuToggleBtn {
  display: none !important;
}
body.blog .navigation.pagination {
  display: none;
}
.p-postList.-type-simple {
  border-top: unset;
}
.p-archive__title--level2,
.p-archive__title--level3 {
  font-size: 1.4rem;
}
.p-archive__title--level3 {
  font-size: 1.4rem;
  padding: 0.75rem 0 0 1.25rem;
}
.p-archive__title--level2 a,
.p-archive__title--level3 a {
  color: #333;
  text-decoration: unset;
  display: block;
  width: fit-content;
  font-size: .9rem;
  display: flex;
  align-items: center;
}
.p-archive__title--level2 a::before,
.p-archive__title--level3 a::before {
  content: "";
  display: inline-block;
  background: url(../../assets/img/blog_category_icon.svg) no-repeat center / contain;
  width: 19px;
  height: 19px;
  margin: 0 8px 0 0;
  flex-shrink: 0;
}
.p-postList.-type-simple .p-postList__link {
  display: flex !important;
  align-items: center;
}
.p-postList.-type-simple .p-postList__link .p-postList__title {
  font-size: .81em !important;
}
.p-postList.-type-simple .p-postList__link::before {
  content: "";
  display: inline-block;
  background: url(../../assets/img/blog_article_icon.svg) no-repeat center / contain;
  width: 14px;
  height: 14px;
  margin: 0 8px 0 0;
  flex-shrink: 0;
}
.p-archive__title--level2 a:hover,
.p-archive__title--level3 a:hover {
  opacity: .75;
}
.p-postList + .p-archive__title--level2 {
  margin-top: 2rem;
}
.p-archive__title--level2 + .p-postList{
  padding-left: calc(20px - 0.5rem);
}
.p-archive__title--level3 + .p-postList{
  padding-left: calc(40px - 0.5rem);
}
/* .p-archive__title--level3 + .p-postList + .p-postList + .p-postList{
  display: none;
  visibility: hidden;
} */

/* ブログ個別ページ */
body.single .p-postList.-type-card.-related {
  display: block;
}
body.single .p-postList.-type-card.-related .p-postList__item {
  width: 100%;
  margin-bottom: 0;
}
body.single .p-postList.-type-card.-related .p-postList__thumb {
  display: none;
}
body.single .p-postList.-type-card.-related .p-postList__link {
  border-bottom: 1px solid var(--ark-color--border);
  padding: .75rem .5rem;
  display: flex;
  align-items: center;
}
body.single .p-postList.-type-card.-related .p-postList__link::before {
  content: "";
  display: inline-block;
  background: url(../../assets/img/blog_article_icon.svg) no-repeat center / contain;
  width: 14px;
  height: 14px;
  margin: 0 8px 0 0;
  flex-shrink: 0;
}
body.single .p-postList.-type-card.-related .p-postList__body {
  padding: 0;
}
body.single .p-postList.-type-card.-related .p-postList__body .p-postList__meta {
  display: none;
}
body.single .ark-block-blogCard .arkb-boxLink__title {
  padding: 0 1.25rem 0 0;
}
@media (min-width: 600px) {
  body.single .ark-block-blogCard .arkb-boxLink__title {
    padding: 0 1.5rem 0 0;
  }
}
body.single .ark-block-blogCard .arkb-boxLink__inner::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../../assets/img/external_icon%EF%B9%96ver=3.svg) no-repeat center / contain;
  position: absolute;
  top: 16px;
  right: 16px;
}
body.single .ark-block-blogCard .arkb-boxLink__figure img {
  object-position: top center;
}
body.single .ark-block-blogCard .arkb-only-pc {
  display: block !important;
}

/* 制作実績アーカイブ（タクソノミーページ含む） */
.p-archive-works__cats {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.p-archive-works__cat {
  /* width: fit-content;
  margin: 0 1em 0.3em 0; */
  margin: 6px 15px 0 0;
}
.p-archive-works__cat a {
  /* color: #333;
  font-size: 0.9rem; */
  color: #004eae;
  font-size: 13px;
  line-height: 1.8;
  text-decoration: none !important;
  transition: all ease-in-out .3s;
}
.p-archive-works__cat a:hover {
  /* text-decoration: unset; */
  opacity: .7;
}
.p-archive-works__cat a.is-show {
  pointer-events: none;
  /* text-decoration: unset; */
  font-weight: bold;
  border-bottom: 2px solid #004eae;
  padding: 0 5px;
}
.p-archive-works__list .c-postThumb__img {
  object-fit: contain;
}
.p-archive-works__list.p-postList.-type-card .p-postList__link {
  height: fit-content;
}
.p-archive-works__list.p-postList .p-postList__title {
  font-size: .9rem;
}
.p-archive-works__list.p-postList .p-postList__title-honorific {
  font-size: .9em;
}

/* 制作実績個別ページ */
.c-pageTitle__main-honorific {
  font-size: .9em;
}
.p-single-works__copy {
  font-size: 1.4rem;
  font-weight: bold;
}
.p-single-works__table {
  background-color: #f7f7f7;
  padding: var(--ark-padding--container);
}
.p-single-works__list + .p-single-works__list {
  margin-top: 1em;
}
.p-single-works__list-term,
.p-single-works__list-desc {
  font-size: 0.9rem;
}
.p-single-works__list-desc-honorific {
  font-size: 0.9em;
}
.p-single-works__list-desc a {
  color: #333;
}
.p-single-works__list-desc a:hover {
  text-decoration: unset;
}
@media (min-width: 600px) {
  .p-single-works__list {
    display: flex;
  }
  .p-single-works__list-term {
    width: 120px;
    flex-shrink: 0;
  }
  .p-single-works__list-desc {
    width: 100%;
  }
}

/* 404 */
.p-404 {
  padding: 0 0 120px;
}

/* Utility */
.u-pc {
  display: none;
}
.u-sp {
  display: block;
}
@media (min-width: 600px) {
  .u-pc {
    display: block;
  }
  .u-sp {
    display: none;
  }
}