/*ヘッダー*/
header {
    box-shadow: 1px 1px 8px gray;
    position: fixed;
    height: auto;
}

.header-container {
    max-width: 1220px;
    margin: auto;
    padding: 20px;
}


nav .nav-list {
    display: flex;
    justify-content: space-evenly;
    font-size: 20px;
    font-weight: bold;
    padding-top: 20px;
}
ul.nav-list li:hover {
    color: #354050;
    border-bottom: 2px solid;
}
li.nolink a {
    pointer-events: none;
    color: #a8a8a8!important;
}
ul.nav-list li.nolink:hover {
    border-bottom: none;
}
.header-top {
    display: flex;
    align-items: center;
}

.ntt-logo {
    width: 140px;
    position: absolute;
    max-width: 20%;
}

.center-logo {
    text-align: center;
    margin: auto;
    max-width: 50%;
}

.input-hidden{
	display: none;
}
	/* label */
.hamburger-switch{
    cursor: pointer;
    position: absolute;
    right: 3%;
    top: 25px;
    z-index: 9999;
    width: 30px;
    height: 30px;
}
/* メニュー展開時にハンバーガーアイコンを固定 */
#hamburger-demo1:checked ~ .hamburger-switch{
	position: fixed;
}
/* ハンバーガーアイコン */
.hamburger-switch-line1, .hamburger-switch-line1:before, .hamburger-switch-line1:after{
	width: 25px;
	height: 3px;
	background: #333; /* ハンバーガーアイコンの色 */
	position: absolute;
	top: 50%;
	left: 50%;
	transition: .3s;
	content: "";
}
.hamburger-switch-line1{
		transform: translate(-50%, -50%);
}
.hamburger-switch-line1:before{
	transform: translate(-50%, -300%);
}
.hamburger-switch-line1:after{
	transform: translate(-50%, 200%);
}
/* ハンバーガーアイコン･アニメーション */
#hamburger-demo1:checked ~ .hamburger-switch .hamburger-switch-line1{
	width: 0;
}
#hamburger-demo1:checked ~ .hamburger-switch .hamburger-switch-line1:before{
	transform: rotate(45deg) translate(-40%, 325%);
}
#hamburger-demo1:checked ~ .hamburger-switch .hamburger-switch-line1:after{
	transform: rotate(-45deg) translate(-40%, -325%);
}
/* メニューエリア */
.hamburger-menuwrap{
	position: fixed;
	height: 100%;
	background: #fafafa; /* メニューエリアの背景色 */
	padding: 5em 3% 2em;
	z-index: 9998;
	transition: .3s;
	overflow-y: scroll; /* メニュー内容が多い場合に縦スクロールする */
	top: 0;
	left: 100%;
	width: 70%;
}
/* メニューリスト */
.hamburger-menulist{
	margin-right: 3%;
	padding-left: 5% !important; /* !important不要な場合もあり */
	list-style: none;
}
.hamburger-menulist li a{
	text-decoration: none;
	color: #333; /* メニューリストの文字色 */
	display: block;
	padding: .5em 0;
    font-size: 16px;
}
/* メニューエリア･アニメーション */
	/* 右から */
#hamburger-demo1:checked ~ .hamburger-menuwrap{
	left: 30%;
}
	/* コンテンツカバー */
#hamburger-demo1:checked ~ .hamburger-cover{
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 9997;
	background: rgba(3,3,3,.5);
	display: block;
}
/* PCではハンバーガーメニューを表示しない */
@media (max-width: 767px){
	.pc-nav{
		display: none;
	}
}
@media (min-width: 768px){
	.hamburger-menubox{
		display: none;
	}
}
/*トップページ_スライダー*/
.top-slick {
    height: fit-content;
    width: 90%;
    max-width: 1500px;
    margin: auto;
    display: flex;
}
.top-slick .slick-slide {
    position: relative;
}
.slick-initialized .slick-slide{
height:auto;
}
.top-slick div img{
   width:100%;
   max-width: 470px;
}
.ranking-slick div img{
   width:100%;
   max-width: 470px;
}
.slick-initialized .slick-slide {
    margin: 0 15px;
}

/*トップページ_スライダー矢印*/
.slick-arrow {
  display: block;
  position: absolute;
  top: 0;
  /*bottom: 0;*/
  margin: auto;
  padding: 0;
  width: 20px;
  height: 38px;
  color: transparent;
  z-index: 1;
  transition: opacity 0.5s;
  z-index: 1;
}
.slick-arrow:hover {
  opacity: 0.7;
}

.slick-next::before,
.slick-next::after,
.slick-prev::before,
.slick-prev::after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  color: transparent !important;
}
.slick-next::after,
.slick-prev::after {
  width: 26px;
  height: 26px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
}
.top-slick p.date {
    text-align: right;
}
.top-slick .top-article-summary {
    background: #ffffff8f;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 15px;
    font-size:18px;
}
.top-slick .top-article-summary .keyword, .top-slick .top-article-summary .date{
    font-size: 80%;
}
/* next */

.slick-next {
  right: -26px;
}
.slick-next::after {
  right: 4px;
  transform: rotate(45deg);
}

/* prev */

.slick-prev {
  left: -26px;
}
.slick-prev::after {
  left: 4px;
  transform: rotate(-135deg);
}

/*トップページ_トップメインビジュアル*/
.mainvisual {
    position: relative;
    padding: 50px 0;
    background: #fff;
}
.mainvisual::before {
    content: "";
    width: 100%;
    height: 60%;
    background-color: #d9d9d9;
    position: absolute;
    bottom: 0;
}
/*トップページ_ランキング*/
.ranking-container{
max-width:1220px;
margin:auto;
}
div.ranking {
    padding: 30px 10px;
    background-color: white;
    border-bottom: 20px solid #ECF7FF;
}
.ranking-slick {
    height: fit-content;
    display: flex;
}
.ranking-slick .slick-slide a {
    display: flex;
    align-items: center;
    position:relative;
}

.ranking-slick .slick-slide img {
    width: 40%;
    height: inherit;
    margin-right: 10px;
}

.ranking-slick p.title {
    line-height: 1.3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 任意の行数を指定 */
    height:3.9em;
    font-size:16px;
}
.ranking-slick .summary{
width:60%;
}
h2.ranking {
    display: flex;
    align-items: center;
    margin: 10px 0 25px;
}

.ranking span.EN {
    margin-right: 15px;
}
span.rank {
    font-size: 22px;
    color: white;
    font-weight: bold;
    border-radius: 25px;
    width: 40px;
    height: 40px;
    text-align: center;
    position: absolute;
    top: -20px;
    background: #ff8800;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 10;
    left: -15px;
}

.ranking-slick .slick-list.draggable {
    padding-top: 20px;
}

/*トップページ_メイン*/
span.EN {
    font-family: 'Agency FB';
    font-size: 42px;
    display: block;
    font-weight: bold;
}

.main {
    max-width: 1220px;
    margin: auto;
    padding: 0 10px;
}

h2 {
    font-size: 24px;
    margin: 40px 0 20px;
}

.article-list ul {
    display: flex;
    flex-wrap: wrap;
}
.article-list ul div {
    position: absolute;
    bottom: 0;
    background-color: #ffffff8f;
    padding: 10px;
    right:0;
    left:0;
}

.article-list ul li {
    position: relative;
    width: calc( ( 100% - 30px ) / 3);
    margin: 20px 5px;
    max-width: 470px;
}

p.title {
    font-weight: bold;
    line-height: 1.3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height:2.6em;
}


.article-list ul div p {
    line-height: 1.3em;
font-size: 16px;
}

.article-list ul div p.keyword, .article-list ul div p.date {
    font-size: 80%;
}

.article-list ul div p.date {
    text-align: right;
}

p.keyword {
    margin-top: 5px;
}


.wrapper {
    background-image: url(/nic/article/img/top-BK.jpg);
    background-attachment: fixed;
    background-position: center;
}
a.btn {
    padding: 15px 56px;
    border: 1px solid;
    width: fit-content;
    margin: 50px auto 80px;
    font-size: 18px;
    transition: .3s;
}
a.btn:hover {
    color: white!important;
    background: black;
}
.main.article a.btn {
    color: black;
}
.main.article .box_outline {
    background: #f3f2f2;
    padding: 20px;
    margin: 20px 0;
}

.main.article .box_outline li {
    list-style: disc;
}

.main.article .box_outline ul {
    padding: 0 35px;
}

.main.article .box_outline h3 {
    margin: 10px;
}
.main.article .gray-back {
    background: #F3F2F2;
    padding: 1px 30px 30px 30px;
}
.main.article .gray-back li {
    list-style-type: square;
    margin-left: 20px;
}
/*フッター*/
footer.footer {
    font-size: 16px;
    background: #c7c7c7;
}

footer .container {
    max-width: 1220px;
    margin: auto;
    padding: 60px 15px;
}

ul.footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

ul.footer-nav li {
    border-right: 1px solid;
    padding: 5px 10px;
}
ul.footer-nav li:last-child {
    border: none;
}
footer .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer p, .copyright {
    text-align: right;
    margin: 20px 0;
}
.top-slick span.category {
    position: absolute;
    background-color: #354050;
    padding: 10px 20px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    top: 21px;
}

/*記事一覧ページ*/
.mainvisual.sub-list::before {
    background: url(/nic/article/img/sub-BK.jpg);
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    content: "";
    background-size: cover;
    background-position: center;
   z-index:0;
}
.mainvisual.sub-list h2 {
    text-align: center;
    z-index: 2;
    position: relative;
line-height: 1.3;
}

/*サムネイル大_記事ページ*/
.main.sub h2 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 60px;
}

.main.sub {
    margin-bottom: 70px;
}
.main.article {
    background: rgb(255 255 255 / 77%);
}

.article-large_img > div {
    display: flex;
    width: 100%;
}

.article-large_img {
    margin: 50px 0;
}
.main.article figure {
    max-width: 800px;
    margin: 40px auto;
}
.main.article figure.large {
    max-width: 1000px;
}
.article-large_img .summary {
    background: #F3F2F2;
    width: 50%;
    padding: 30px;
    position: relative;
}

.article-large_img .summary h1 {
    font-size: 26px;
    font-weight: bold;
    margin: 20px 0;
    line-height:1.3
}
.summary .keyword span{
    font-weight: bold;
    margin-right: 10px;
}
.article-large_img .summary .date{
    position: absolute;
    right: 30px;
    bottom: 30px;
}
.article-large_img img {
    width: 50%;
}
.category {
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 5px 40px 5px 18px;/*文字の左右の余白*/
  font-size: 18px;/*文字サイズ*/
  background: #354050;/*背景色*/
  color: #FFF;/*文字色*/
  box-sizing: border-box;
}

.article-large_img .summary .category:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.article-small_img > div {
    display: flex;
    width: 100%;
}

.article-small_img {
    margin: 50px 0;
}

.main.article figure.small {
    max-width: 1000px;
}
.article-small_img .summary {
    width: 70%;
    padding: 10px 30px;
    position: relative;
}

.article-small_img .summary h1 {
    font-size: 26px;
    font-weight: bold;
    margin: 20px 0;
    line-height:1.3
}
.article-small_img .summary .date{
    margin-top: 10px;
}
.article-small_img img {
    width: 35%;
    height: fit-content;
}

.article-small_img .summary .category:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}
.article-small_img .summary .category:after {
    top: 0;
    right: 0;
    border-width: 20px 18px 20px 0px;
    border-color: transparent white transparent transparent;
    border-style: solid;
}


.category:after {
  top: 0;
  right: 0;
  border-width: 20px 18px 20px 0px;
  border-color: transparent f3f2f2 transparent transparent;
  border-style: solid;
}

.main.article　h2 {
    font-weight: bold;
}

.main.article h2 {
    font-weight: bold;
    position: relative;
    display: flex;
    align-items: center;
   line-height:1.4;
}

.main.article h2::before {
    content: "";
    width: 12px;
    height: 40px;
    background: #354050;
    display: inline-block;
    margin-right: 10px;
}

.main.article h3 {
    font-size: 22px;
    color: #354050;
    font-weight: bold;
    margin: 40px 0 20px;
   line-height:1.4;
}
.img-flex {
    display: flex;
    max-width: 900px;
    margin: 20px auto;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: space-around;
}

.main.article .img-flex figure {
    margin: 20px;
    max-width: 410px;
}

figcaption {
    font-size: 16px;
    margin: 10px auto;
    text-align: center;
}
.main.article .author {
    background: #F1F1F1;
    padding: 30px;
    display: flex;
    align-items: center;
    margin: 50px 0;
}

.main.article .author img {
    width: 40%;
    margin-right: 30px;
}

.main.article a {
    color: #007bc2;
}

.main.article a:hover {
    color: #688799;
}
.main.article figure.float-right{
    float:right;margin:10px 20px;
}
.main.article figure.float-left{
    float:left;margin:10px 20px;
}
.has-float-img{
    display:inline-block;
}
p.mark {
    font-size: 24px;
    font-weight: bold;
    border-bottom: 3px solid #354050;
    width: fit-content;
    display: flex;
    align-items: center;
    margin: 40px 0 20px;
}

p.mark::before {
    margin-right: 10px;
    content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background: #354050;
}
.projectItem-top{
    margin: 10px;
    position: relative;
    display: block;
    transition: .2s;
    max-width: 400px;
}


.projectItem-top div p{position: absolute; background-color: rgb(0 0 0 / 80%); color: white;width: calc(100% - 30px); bottom: 0; padding: 15px;font-weight: bold; font-size: 16px; text-align: center; transition: .2s;}

.recruit-title.top{margin:20px 0 80px;transition: .2s;}
.recruit-title:after {
    content: "";
    display: block;
    width: 100%;
    height: 197px;
    background-image: url(/nic/img/recruit/top-img.jpg);
    background-position-x: center;
    background-position-y: -70px;
}
.recruit-title p {
    font-size: 38px;
    color: #333;
    font-weight: bold;
    background-color: white;
    text-align: center;
    padding: 20px;
    width: 50%;
    margin: auto;
    position: absolute;
}
.recruit-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.main.article a {
    color: #007bc2;
}
main.article a.recruit:hover {
    opacity: .8;
}
@font-face {
font-family: 'Agency FB';
src: url('/nic/article/img/agency_fb.ttf') format('truetype');
}

@media screen and (max-width: 1030px){
.header-container{
    padding:15px;
}
.top-article-summary {
    padding: 10px;
}
.top-article-summary p{
    line-height:1.4;
}

.article-large_img > div {
    flex-direction: column;
    max-width: 800px;
    margin: auto;
}
.article-large_img img {
    width: 100%;
}
.article-large_img .summary {
    width: auto;
    padding: 15px;
}
.article-large_img .summary .date {
    position: initial;
    text-align: right;
}
.article-small_img > div {
    flex-direction: column;
    max-width: 800px;
    margin: auto;
}
.article-small_img img {
    width: 100%;
}
.article-small_img .summary {
    width: auto;
    padding: 15px;
}
.article-small_img .summary .date {
    position: initial;
    text-align: right;
}
}

@media screen and (max-width: 767px) {
  .slick-next::after,
  .slick-prev::after {
    width: 10px;
    height: 10px;
  }
  .slick-next {
    right: 8px;
  }
  .slick-prev {
    left: 8px;
  }
  .slick-next::after {
    right: 2px;
  }
.article-list ul {
    justify-content: space-between;
    flex-direction: column;
}
.article-list ul li {
    width: 100%;
    margin: 20px auto;
    max-width: 500px;
}
.ranking-slick{
    max-width:90%;
    margin:auto;
}
.ranking-slick .slick-slide img {
    width: 100%;
}
.ranking-slick .slick-slide a {
    flex-direction: column;
}
.ranking-slick .summary{
    width:100%;
}
span.EN{
    font-size:36px;
}
h2{
    font-size:20px;
}
footer .row, ul.footer-nav {
    flex-direction: column;
}
ul.footer-nav li{
    border:none;
}
.main.article figure.float-left, .main.article figure.float-right{
    margin:10px auto;
}
.has-float-img{
    display:inline-grid;
}
.img-flex {
    align-items: center;
    flex-direction: column;
}
.main.article .img-flex figure {
    max-width: 800px;
}
}