@charset "utf-8";
/* CSS Document */

body {
  background-color: #f5f5f5;
  color: #4e4e4e;
}

a {
  color: #4e4e4e;
}

/* =====================================
  全ページで使用
===================================== */
/* -------------------------
  headerナビ
------------------------- */
.navbar {
  background-color: rgba(0,0,0,.3);
}

.navbar-brand{
  font-size: 1.6rem;
  font-weight: bold;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link a,
.navbar-dark .navbar-nav .nav-link:hover{
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

/* -------------------------
  footer
------------------------- */
footer{
  text-align: center;
  color: #fff;
  padding: 25px 0;
  background: #0062d3;
}

footer a{
  color: #fff;
}

/* -------------------------
  装飾
------------------------- */
.mt4rem{
  margin-top: 4rem;
}

.big-h2{
 font-weight: bold;
 font-size: 3rem;
}

.line-mf {
  width: 40px;
  height: 5px;
  background-color: #0078ff;
  margin: 0 auto;
}

.line-left{
  width: 80px;
  height: 3px;
  background-color: #0078ff;
}

/* -------------------------
  ブログカード
------------------------- */
.blog-card .card-title {
  font-size: 1.2rem;
}

.blog-card .avatar {
  width: 32px;
  height: 32px;
  margin-right: 4px;
  overflow: hidden;
}

.blog-card  .card-body {
  position: relative;
}

.blog-card .card-category-box {
  position: absolute;
  top: -16px;
  left: 15px;
  right: 15px;
  text-align: center;
}

.blog-card .card-category {
  display: inline-block;
  color: #fff;
  padding: 0 15px 5px;
  overflow: hidden;
  background-color: #0078ff;
  border-radius: 4px;
}

/* =====================================
  サイトindexのみ使用
===================================== */
/* hero
------------------------- */
.hero{
  background-image: url(../img/intro-bg.jpg);
  background-size: cover;
  background-attachment: fixed;　 
}

.intro-title{
  color: #fff;
  text-align: center;
  font-size: 4.5rem;
}

/* -------------------------
  About me
------------------------- */
.title-s{
  font-size: 1.1rem;
  font-weight: bold;
}

/* -------------------------
  SERVICES
------------------------- */
.service-box{
  padding: 2.5rem 1.3rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.ico-circle {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  margin: 0 auto;
  padding-top: 25px;
  text-align: center;
  box-shadow: 0 0 0 10px #0078ff;
  display: block;
}

/* -------------------------
  counter
------------------------- */
#counter{
  padding: 8rem 0;
  background-image: url(../img/counters-bg.jpg);
  background-size: cover;
  background-attachment: fixed;
}

.counter-box {
  color: #fff;
  text-align: center;
}

.counter-box .ico-circle {
  height: 60px;
  width: 60px;
  padding-top: 15px;
  box-shadow: 0 0 0 10px #cde1f8;
}

.counter{
  display: block;
  font-size: 2rem;
}

/* -------------------------
  Portfolio(work)
------------------------- */
.w-title{
  font-size: 1.15rem;
}

.w-more{
  font-size: .85em;
}

.w-blue{
  color:#0078ff;
}

/* -------------------------
  testimonials
------------------------- */
.testimonials{
  min-height: 500px;
  height: 60vh;
  background-image: url(../img/overlay-bg.jpg);
  background-size: cover;
  background-attachment: fixed;
}

.testimonial-text {
  max-width: 700px;
  margin: 1rem auto;
}

/* -------------------------
  contact
------------------------- */
#contact{
  background-image: url(../img/overlay-bg.jpg);
  background-size: cover;
  background-attachment: fixed;
}

.button-rouded {
  border-radius: 5rem;
}

#contact ul{
  list-style: none;
}

#contact .ico-circle {
  height: 40px;
  width: 40px;
  padding-top: 9px;
  box-shadow: 0 0 0 3px #0078ff;
}

/* =====================================
 BLOG共通
===================================== */




/* sidebar
---------------- */
.search h3::before,
.popularposts h3::before,
.recentposts h3::before,
.archives h3::before,
.tags h3::before {
  font-family: "Font Awesome 5 Free" ;
  font-weight: 600;
  padding-right: 7px;
}

.search h3::before { content: "\f002";}
.popularposts h3::before { content: "\f521";}
.recentposts h3::before { content: "\f133";}
.archives h3::before { content: "\f187";}
.tags h3::before { content: "\f02c";}

.search .btn{
  border-radius: 0;
}

.popular-num{
  counter-reset: item;
}

.popular-num>li{
  position: relative;
}

.popular-num>li::after{
  position: absolute;
  counter-increment: item;
  content: counter(item);
  top: 0;
  left: 15px; /*bootstrap colのpadding-left*/
  height: 25px;
  width: 30px;
  color: #FFF;
  text-align: center;
  background: rgba(0,0,0,.3);
}

.taglist li{
  display: inline-block;
  background-color: #0078ff;
  padding: .2rem .6rem;
  margin-bottom: .5rem;
  border-radius: 15px;
}

.taglist a{
  color: #FFF;
}

/* =========================
 indexのみ
========================= */
.blog-top{
  position: relative;
  background-image: url(../img/overlay-bg.jpg);
  background-size: cover;
  background-position: bottom;
  background-attachment: fixed;
  height: 350px;
}

.overlay{
  content: '';
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: #0078ff;  
  opacity: .7;
}

.blog-top .container {
  position: absolute;
}

.blog-top h1{
  color: #FFF;
  font-weight: 600;
}

.breadcrumb{
  background-color: transparent;
  font-weight: normal;
}

.blog-top .breadcrumb a{
  color: #FFF;
}

.blog-top .breadcrumb-item.active,
.blog-top .breadcrumb-item::before {
  color: #cde1f8;
}


/* =======================
 single(.post)のみ
======================= */
article a {
  color: #0078ff;
}

.post .breadcrumb a{
  color: #666;
}

.breadcrumb-item.active,
.breadcrumb-item::before {
  color: #cde1f8;
}

.post-meta{
  font-size: .95em;
  border-left: 4px solid #0078ff;
}

.snsicon img{
  width: 50px;
  height: 50px;
}

.card-title a{
  color: #4e4e4e;
}

/* =======================================================================
==========================================================================
                  768以下（スマホ、小タブレット向け）の設定
==========================================================================
======================================================================= */
@media(max-width: 768px) {
  .navbar-dark .navbar-toggler{
    border: none;
  }

  /* =====================================
    サイトindexのみ使用
  ===================================== */
  .intro-title{
    font-size: 3rem;
  }
  .hero {
    background-position: center;
  }

  /* =====================================
    ブログページのみ使用
  ===================================== */
  .single-top{
    height: 250px;
  }

}