@charset "UTF-8";
/*
Theme Name:NANO child
Theme URI:
Description:NANOのカスタム用
Template:nano_tcd065
Author:Science and Technology Inst., Co.
Author URI:https://www.kagiken.co.jp/
Version:1.11
*/

/* for template-parts/cover-custom.php */
.p-custom-cover {
  margin-bottom: 0;
  position: relative;
  width: 100%;
  height: 200px;
}
.p-custom-cover::before {
  background: rgba(0, 0, 0, 0);
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.p-custom-cover__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.p-custom-cover__title {
  font-family: "Segoe UI", Verdana, "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 500;
  color: #000;
	font-size: 40px;
  margin-bottom: 10px;
}
.p-custom-cover__sub {
  color: #000;
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .p-custom-cover { height: 100px; }
  .p-custom-cover__title { font-size: 18px; margin-bottom: 5px; }
  .p-custom-cover__sub { font-size: 14px; }
}

.l-contents--no-pad {
  padding-top: 0;
}

.l-inner--no-margin {
  margin-top: 0 !important;
}

/* for parent sidebar.php */
.l-contents--grid-rev .l-contents__inner--no-gap {
  display: -ms-grid;
  display: grid;
  -ms-grid-rows: auto 0 1fr;
  -ms-grid-columns: minmax(0, 830px) 4.0678% 300px;
  grid-template: "main header" auto "main sidebar" 1fr/minmax(0, 830px) 300px;
  grid-column-gap: 4.0678%;
  grid-row-gap: 0;
}

.l-contents--grid-rev .l-contents__inner--no-gap .l-primary {
  -ms-grid-row: 1;
  -ms-grid-row-span: 3;
  -ms-grid-column: 1;
  grid-area: main;
}

.l-contents--grid-rev .l-contents__inner--no-gap .l-secondary {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
  grid-area: sidebar;
}
.l-contents {
  margin-bottom: 60px;
}

@media screen and (max-width: 991px) {
  .l-contents--grid-rev .l-contents__inner--no-gap {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .l-contents {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 991px) {
  .l-secondary {
    margin: 0;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .l-secondary {
    margin: 0 auto 30px;
    padding-top: 40px;
    position: relative;
    width: 100%;
  }

  .l-secondary::before {
    background: #ddd;
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: calc(100% + 40px);
    height: 1px;
  }
}

@media screen and (max-width: 767px) {
  .p-list-toc {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
  }
}

.cardlink .cardlink_timestamp {
  display:none;
}

.p-entry__body .wp-caption-text {
  font-style: normal;
}

.p-works-entry__title {
  margin-bottom: 14px;
}
.p-works-entry__header {
  margin-bottom: 14px;
}

.p-archive-header__desc {
  padding: 0 32px;
}

.p-company-header {
  margin-bottom: 24px;
  position: relative;
}

.p-company-header__content {
  line-height: 1;
  text-align: center;
  width: 100%;
  position: relative;
  top: 0;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

@media screen and (max-width: 991px) {
  .p-company-header__title {
      font-size: 20px;
      margin-top: 24px;
  }
}
