@charset "UTF-8";

#gNav .gNav__menu__newspaper{
  background-color: #f5f5f5;
  box-shadow: 0px 0px 2px 0px #999 inset;
}


.ribbon_box3{
    display: block;
    position: relative;
    margin: 0 auto 15px auto;
    width: 100%;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.1);
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #999;
    border-radius: 0.5rem;
    overflow: hidden;
}

.ribbon_area {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    overflow: hidden;
  }

  .ribbon16 {
      display: inline-block;
      position: absolute;
      padding: 5px 0;
      left: -60px;
      top: 40px;
      width: 260px;
      text-align: center;
      font-size: 32px;
      font-weight: 500;
      line-height: 40px;
      background: #39c3d4;
      color: #fff;
      letter-spacing: 0.05em;
      -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      box-shadow: 0 0 0 4px rgb(57, 195, 212);
      border-top: dotted 2px rgba(255, 255, 255, 0.8);
      border-bottom: dotted 2px rgba(255, 255, 255, 0.8);
  }



.pageHeading{
  max-width: 960px;
  margin: 20px auto auto auto;
  text-align: right;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
}
.newspaperOuter{
  padding: 0 15px;
}
.newspaper{
  max-width: 960px;
  margin: auto;
  margin-top: 60px;
}
.bookmark-solid.icon {
  color: #000;
  position: absolute;
  margin-top: 3px;
  width: 10px;
  height: 15px;
  border-radius: 1px 1px 0 0;
  border-top: solid 1px currentColor;
  border-left: solid 1px currentColor;
  border-right: solid 1px currentColor;
  background-color: currentColor;
}
.bookmark-solid.icon:before {
  content: '';
  position: absolute;
  top: 10px;
  left: 1px;
  width: 6px;
  height: 6px;
  border-top: solid 1px currentColor;
  border-left: solid 1px currentColor;
  background-color: white;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.newspaper__backnumberHeading{
  font-size: 2rem;
  font-weight: 600;
  color: #333;
}
.newspaper__category .container .row:first-child .txtLine{
  padding: 20px 0 20px 0;
}
.txtLine{
	display: flex;
  padding: 60px 0 20px 0;
	align-items: center;
}
.txtLine:before, .txtLine:after {
	content: "";
	flex-grow: 1;
	height: 1px;
	background: #333;
	display: block;
}
.txtLine:before {
	margin-right: 5px;
}
.txtLine:after {
	margin-left: 5px;
}

.thisMonthFront__img{
  width: 100%;
}
.thisMonthBack__img{
  width: 100%;
  margin-bottom: 15px;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,.1);
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #999;
  border-radius: 0.5rem;
  overflow: hidden;
}
.contentArea{
  background-image: url("../../../commons/img/content_bg_wood.jpg")
}
.newspaper__category {
  margin-top: 0;
  padding: 30px;
  background-color: #fff;
  box-shadow: 0 0 4px 0 rgba(0,0,0,0.4);
  -webkit-box-shadow: 0 0 4px 0 rgba(0,0,0,0.4);
  border: ;
  border-bottom: 1px solid #999;
  border-radius: 0.25rem;
}
.newspaper__categoryHeading{
  padding: 20px;
  border-left: 4px solid #ff8484;
  background-color: #fff2f2;
  color: #333;
}
.backnumber__btn{
  padding: 0;
  border: none;
  box-shadow: 0 0 4px 0 rgba(0,0,0,0.4);
  -webkit-box-shadow: 0 0 4px 0 rgba(0,0,0,0.4);
  cursor: zoom-in;
}
.backnumber__btn:hover{
  opacity:0.6;
}
.backnumber__img{
  width: 100%
}
.backnumber__btn:hover{
  transform: scale(1.03);
  transition-duration: 0.3s;
}
.backnumber__frontOuter{
  padding: 0 15px 0 0;
}
.backnumber__backOuter{
  padding: 0 0 0 15px;
}
.modal-open .modal{
  overflow-x: auto;
}
.modal-dialog{
  max-width: 1200px;
}
.modal-content{
  width: auto;
  margin: 60px auto auto auto;
}
.modal__img{
}
.modal__close{
  width: 100%;
  position: fixed;
}
.modal__close .btn{
  width: 100%;
  height: 60px;
  font-size: 2rem;
}


/* Extra small devices (スマホ縦画面, 575.98px以下への指定) */
@media (max-width: 575.98px) {
  #gNav .gNav__menu__newspaper{
    background-color: #ffffe4;
    box-shadow: none;
  }
  .pageHeading{
    display: none;
  }
  .newspaper{
    margin-top: 0;
  }
  .newspaperOuter{
    padding: 0;
  }
  .contentArea{
    padding-right: 15px;
    padding-left: 15px;
    border: none;
    border-radius: 0;
  }
  .ribbon16 {
    left: -100px;
    top: 16px;
    font-size: 18px;
    line-height: 16px;
  }
  .backnumber__frontOuter {
    padding: 0 0 15px 0;
  }
  .backnumber__backOuter {
    padding: 0;
  }
  .newspaper__category{
    padding: 30px 15px;
  }
  .modal-dialog{
    margin: 0;
  }
}




/* Small devices (スマホ横画面 576px　～　767.98pxへの指定) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .modal-dialog{
    margin: auto;
  }
  .ribbon16 {
    left: -80px;
    top: 24px;
    font-size: 24px;
    line-height: 32px;
  }
}
/* Medium devices (タブレット, 768px　～　991.98px以下への指定) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .modal-dialog{
    margin: auto;
  }
}
/* Large devices (デスクトップ, 992px以上への指定) */
@media (min-width: 992px) {
  .modal-dialog{
    margin: auto;
  }
}
/* Extra large devices (デスクトップ大画面, 1200px以上への指定) */
@media (min-width: 1200px) {
  .modal-dialog{
    margin: auto;
  }
}
