/*bootstrapのレイアウト変更*/
.container {
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
  }
.row {
      margin: 0px 0px 0px 0px;
    }
.col-lg-4 ,.col-xs-6 {
      margin: 0px 0px 0px 0px;
      padding: 0px 2px 0px 2px;
    }
.col-lg-8 ,.col-xs-12 {
      margin: 0px 0px 0px 0px;
      padding: 0px 5px 0px 5px;
    }

/*基本レイアウト変更*/
.article-background{
    padding: 0px 0px 0px 0px;
    margin: 0px 0 0px 0;
    background-color: rgba(240, 240, 240,0.6);
    background-size: cover;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #777;
    text-align: left;
  }

.main-img {
    padding: 0em 0 0px 0px;
    margin: 0px 0 0px 0;
    color: #fff;
    text-align: center;
    width: auto;
    height: auto;
}

h1{
    font-size: 18px;
    font-weight: 700;
    margin: 15px 0 15px 0;
    text-align: left;
    color:#2a445c;
    border-bottom: dashed 2px #f8ce97;
  }

 h2{
    font-size:18px;
    font-weight: 700;
    margin: 35px 0 15px 0;
    text-align: left;
    color:#2a445c;
    border-bottom: solid 3px black;
  }

h3{
    font-size:16px;
    font-weight: 700;
    padding: 0.25em 0.5em;/*上下 左右の余白*/
    color: #494949;/*文字色*/
    background: transparent;/*背景透明に*/
    border-left: solid 5px #2a445c;/*左線*/
  }

h4{
    font-size:16px;
    margin: 15px 0 5px 0;
    text-align: left;
    color:#494949;
    font-weight: 500;
  }

p{
    font-size:14px;
    line-height: 2.0;
    color:rgb(39, 39, 39);
  }
a{
  color: #44617b;
}

.category{
    margin: 15px 0 0px 10px;
    font-size: 12px;
    color:#2e2e2ee1;
    border-bottom: solid 0.5px #2e2e2ee1;
  }

.category a{
    font-size: 12px;
    color:#2e2e2ee1;
  }

.categorybox {
    padding: 2px 10px 2px 10px;
    margin: 0px -5px 20px 15px;
    font-size:10px;
    width: auto;
    text-align: center;
    float: right;
    color: #fff;
    background: #2e2e2ee1;/*背景色*/
}

.date-author{
    margin: 10px 0 20px 15px;
    font-size:14px;
    color:#2e2e2ee1;
  }

.kizi{
    padding: 10px 3% 0px 3%;
    margin: 0 0 50px 0;
    background-color: #fff;
    background-size: cover;
    color: #777;
    text-align: left;
  }

.kizi-before{
    margin: 0 0px 30px 0px;
    width: 100%;
    height: 7px;
    background-color: #7f8c96;
  }

.kizi-after{
    margin: 40px 0 0px 0px;
    width: 100%;
    height: 10px;
    background-color: #2a445c;
  }

.social_item { 
    float: right;
 }

.datasorce{
    margin: 5px 0 20px 15px;
    font-size:10px;
    color:rgb(165, 165, 165);
    text-align: right;
  }
.datasorce a{
    color:rgb(165, 165, 165);
  }

.datasorce-left{
  margin: 5px 0 20px 0px;
  font-size:10px;
  color:rgb(165, 165, 165);
}
.datasorce-left a{
  color:rgb(165, 165, 165);
}

.next_topic{
    font-size:13px;
    margin: 30px 0 20px 0;
    text-align: right;
    color:#44617b;
  }

/*レビューキャンペーン用のスタイル設定*/
.review-comment{
    font-size:13px;
  }
.writer-card {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #646464;
    background: #fdfdfd;
    border-left: solid 10px #f0f0f0;
  }
.writer-card p {
    margin: 0; 
    padding: 0;
  }

/*動画コンテンツのスタイル設定*/
.video{
    margin: 20px 0px 30px 0px;
    position:relative;
    width:100%;
    padding-top:56.25%;
  }
.video iframe{
    position:absolute;
    top:0;
    right:0;
    width:100%;
    height:100%;
  }


/*Cardのスタイル設定*/
.l-card {
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 10px 0px 10px 0px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  .l-card img{
      width: 100%;
      height: 120px;
      object-fit: cover; 
    }
  .text-content {
    padding: 5px 2px 10px 2px;
  }
  .text-content .title {
    margin: 0 0 12px 0;
    font-size: 13px;
    height: 45px;
    font-weight: 600;
    color: #44617b;
  }
  .text-content .caption {
    margin: 0 0 12px 0;
    font-size: 8px;
    height: 54px;
    color: #555;
  }
  .content-meta {
    overflow: hidden;
    width: 100%;
    font-size: 12px;
  }
  .date {
    float: left;
    color: #aaa;
  }
  .like {
    display: inline-block;
    float: right;
    color: #4cc48e;
  }
  .like .material-icons {
    vertical-align: middle;
    font-size: 16px;
  }

.card-categorybox {
    position: absolute;/*絶対配置*/
    top: 0;
    right: 0;
    padding: 2px 10px 2px 10px;
    font-size:8px;
    width: auto;
    text-align: center;
    float: right;
    color: #fff;
    background: #2e2e2ee1;/*背景色*/
}
  /*ここからthumbnailのスタイル設定*/
  .l-thumbnail {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: auto;
  }
  .thumbnail-wrapper {
    display: block;
    margin: 0;
    padding: 0;
  }
  .thumbnail-wrapper::after {
    transition: 0.5s;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
  }
  .thumbnail-wrapper img{
    display: block;
    max-width: 100%;
  }
  .more-text {
    transition: 0.5s;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    padding: 6px 12px 8px;
    color: #fff;
    font-size: 14px;
    border: 1px solid #fff;
    opacity: 0;
  }
  .l-card:hover .thumbnail-wrapper::after {
    opacity: 1;
  }
  .l-card:hover .more-text {
    opacity: 1;
  }

 .title{
    font-size:16px;
    font-weight: 700;
    padding: 0.25em 0.5em;/*上下 左右の余白*/
    color: #494949;/*文字色*/
  }


.site-background{
    padding-bottom: 1.2em;
    margin: 5px 0 20px 10px;
    background-color: rgba(255, 255, 255, 0.8);
    background-size: cover;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.2);
    color: #777;
    text-align: left;
    border-radius: 10px; 
    -webkit-border-radius: 10px; 
    -moz-border-radius: 10px;
  }

 .site-background h5{
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
 }
 .site-background p{
    font-size: 12px;
 }
.pamphlet{
  border: #646464 solid 1px;
  background-color: #f3f2f2;
  height: 85px;
  width: 100%;
  vertical-align: middle;
  padding: 15px 5px;
  margin: 10px 0;
  border-radius: 3px;
}
.pamphlet-school-name{
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.pamphlet-school-discription{
  font-size: 12px;
}
.pamphlet-button-pamphlet{
  padding: 12px 15px;
  margin: 0px 0;
  background-color: #ee9b3d;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
}
.pamphlet-button-school{
  padding: 12px 15px;
  margin: 0px 0;
  background-color: #757575;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
}
.ad-link{
  color:rgb(230, 114, 38);
  font-weight: 600;
  text-decoration: underline;
}

@media screen and (max-width: 480px) {
  .pamphlet{
    height: 125px;
    padding: 10px;
  }
  .pamphlet-button-pamphlet{
    padding: 5px 15px;
  }
  .pamphlet-button-school{
    padding: 5px 15px;
  }

}
/*目次のレイアウト*/
.mokuji{
  margin: 15px 0;
}
.mokuji ul{
  border: solid 2px #ffb03f;
  padding: 0.5em;
  position: relative;
  margin-top: 2em;
}
.mokuji ul li{
  line-height: 1.5;
  font-size: 14px;
  padding: 0.5em 0 0.5em 1.4em;
  border-bottom: dashed 1px silver;
  list-style-type: none!important;
}
.mokuji ul li:last-of-type{
  border-bottom: none;
}
.mokuji ul li:before{
  /*リスト内のアイコン*/
  font-family: "Font Awesome 5 Free";
  content: "✔️";/*アイコン種類*/
  position: absolute;
  left : 0.5em; /*左端からのアイコンまで*/
  color: #ffb03f; /*アイコン色*/
}
.mokuji ul li:after{
  /*タイトルタブ*/
  background: #ffb03f;
  color: #fff;
  font-weight: bold;
  position: absolute;
  left: -2px;
  bottom: 100%;
  padding: 1px 7px;
  content: "目次";/*タブの文字*/
  letter-spacing: 0.05em;/*字間*/
}