@charset "utf-8";

/*========================================================
ハイライトカラー
========================================================*/
::selection    {
    background: #00ac69;
    color:#fff;
}
 
/*Firefoxに対応*/
::-moz-selection   {
    background: #00ac69;
    color:#fff;
}
/*========================================================
clearfix
========================================================*/
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}

/*========================================================
inline-block
========================================================*/
.inlineBox { /* インラインの隙間 */
    letter-spacing: -.40em;
}
.inlineTxt { /* 文字間を通常に戻す */
    letter-spacing: normal;
}

/*========================================================
ページトップボタン
========================================================*/
.topBack {
    position: fixed;
    right: 40px;
    bottom: 180px;
    z-index: 9000;
    display: none;
}
.topBack a {
    display: block;
    border-radius: 50%;
}
.topBack img {
    width: 50px;
    height: auto;
}

img {
    vertical-align: bottom;
    max-width: 100% !important;
    height: auto;
}

/*========================================================
右へエフェクト
========================================================*/
.motion-txt {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.motion-txt:after {
  content: "";
  position: absolute;
  opacity: 1;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  background-color: #014099;
  transform: translate3d(-101%, 0, 0);
}

.js-scroll.show .motion-txt:after {
  transition-property: transform, opacity;
  transition-duration: 0.5s;
  transition-delay: 0s;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transform: translate3d(0, 0, 0);
}

.js-scroll.done .motion-txt:after {
  transition-property: transform;
  transition-duration: 0.5s;
  transition-delay: 0s;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
  transform: translate3d(103%, 0, 0);
}

.motion-txt .motion-inner {
  opacity: 0;
}

.js-scroll.done .motion-txt .motion-inner {
  color: #014099;
  opacity: 1;
}

/*========================================================
下からへエフェクト
========================================================*/
/* inview */
.fadeIn_up {
  opacity: 0;
  transform: translate(0, 15%);
  transition: 1.5s;
}
.fadeIn_up2 {
  opacity: 0;
  transform: translate(0, 30%);
  transition: 1.5s;
}
@media screen and (max-width: 559px) {
  .fadeIn_up2 {
    opacity: 0;
    transform: translate(0, 15%);
    transition: 1.5s;
  }
}
.fadeIn_up.is-show {
  transform: translate(0, 0);
  opacity: 1;
}

/*========================================================
関連記事
========================================================*/
#relateTtl {
    margin-bottom: 20px;
    padding: 5px 0;
    border-bottom: 1px solid #D9D9D9;
    font-size: 2rem;
    font-weight: bold;
}
#relatedEntryArea {
    margin-bottom: 30px;
}
.relatedEntry {
    width: 50%;
    line-height: 1.6;
    float: left;
}
.relatedEntry:nth-child(odd) { border-right: 1px solid #D9D9D9; }
.relatedEntry:nth-child(1), .relatedEntry:nth-child(2) { border-bottom: 1px solid #D9D9D9; }

.relatedEntry a {
    display: block;
    padding: 15px;
}
.relatedEntryThumb {
    width: 122px;
    height: 86px;
    margin-right: 12px;
    float: left;
    overflow: hidden;
}
.relatedEntryThumb img {
    width: 100%;
    height: auto;
}
.relatedEntryTime {
    font-size: 1.2rem;
}
.relatedEntryTitle {
}

/*========================================================
前の記事・次の記事
========================================================*/
ul#prevnext {
    position: relative;
    overflow: hidden;
    margin: 0 auto 50px;
    list-style: none;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
}
ul#prevnext li {
    display: block;
    line-height: 1.6em;
    font-size: 13px;
}
ul#prevnext li#prevBtn {
    width: 44%;
    float:left;
    background: url("https://www.marutosangyo.co.jp/products/packaging/img/arrow02.jpg") no-repeat;
    background-position: left -26px center;
}
ul#prevnext li#nextBtn {
    width: 44%;
    float:right;
    background: url("https://www.marutosangyo.co.jp/products/packaging/img/arrow02.jpg") no-repeat;
    background-position: right -26px center;
}
ul#prevnext li#centerBtn {
    width: 12%;
    float:right;
    border-right: 1px solid #D9D9D9;
    border-left: 1px solid #D9D9D9;
}
ul#prevnext li#prevBtn a {
    padding: 15px 15px 15px 46px;
}
ul#prevnext li#nextBtn a {
    padding: 15px 46px 15px 15px;
}
ul#prevnext li#centerBtn a {
    padding-top: 34px;
    text-align: center;
}
ul#prevnext li#prevBtn a, ul#prevnext li#nextBtn a, ul#prevnext li#centerBtn a {
    display: block;
    height: 90px;
    max-height: 90px;
    overflow: hidden;
}
ul#prevnext li#prevBtn a:hover, ul#prevnext li#nextBtn a:hover, ul#prevnext li#centerBtn a:hover {
    text-decoration: none;
}
ul#prevnext:after{
    clear: both;
}
ul#prevnext a {
    display: block;
    height: 90px;
}
ul#prevnext li:first-child{
    text-align: right;
}
ul#prevnext li:first-child img {
    margin-left: 10px;
    float: right;
    border: 1px solid #CCC;
}
ul#prevnext li:first-child:after{
    clear: both;
}
ul#prevnext li:last-child{
    text-align: left;
}
ul#prevnext li:last-child img {
    margin-right: 10px;
    float: left;
    border: 1px solid #D9D9D9;
}

/*========================================================
ページネーション
========================================================*/
#pageNavWrap {
    margin-top: 10px;
    text-align: center;
}

#pager {
    display: inline-block;
}

#pageNavWrap a, #pageNavWrap span {
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    color: #fff;
    background-color: #dedede;
    margin: 0 2px;
    white-space: nowrap;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

#pageNavWrap span.current,
#pageNavWrap a.next,
#pageNavWrap a.prev,
#pageNavWrap a:hover {
    color: #fff;
    background-color: #0051a8;
    transition: all 0.3s ease-in-out 0s;
}

#pageNavWrap span.dots {
    width: 1em;
    background-color: #fff;
    color: #000;
    padding: 10px 0;
}