

/************************************
シェアボタンを一行に
************************************/
.sns-group-viral ul {
 display: flex; 
}
/************************************
シェアボタンのテキスト非表示
************************************/
.icon-hatena::after, .icon-googleplus::after, .icon-facebook::after, .icon-twitter::after, .icon-pocket::after, .icon-feedly::after {
 display: none;
}

.item-box-right p {
  font-size: 14px;
}

.item-box-right .item-btn {
    font-size:18px;
    text-decoration:none;
    letter-spacing: 1px;
    display:block;
    text-align:center;
    padding: 10px 20px;
    color:#fff;
    background-color:#4CAF50;
    border-radius:5px;
    box-shadow:2px 2px 0 #2E7D32, 0px 3px rgba(0,0,0,0.5);
}

.item-box-right .item-btn a {
  text-decoration: none;
  color:  #fff;
  display: block;
}

.item-box-right .item-label {
  background-color:  #FBC02D;
  display: inline-block;
  border-radius: 50%;
  height: 80px;
  width: 80px;
  line-height: 80px;
  text-align: center;
  color: #fff;
  position: absolute;
  top: -50px;
  right: -50px;
  transform: rotate(10deg);
  box-shadow: 1px 1px 5px #ccc; 
}

@media screen and (max-width: 720px) {
  .item-box > div {
    width: 100%;
  }
  .item-box-right {
    margin-top: 40px;
  }

  .item-box-right .item-label {
    right: -20px;
  }
}

	


/* 商品リンク http://harv-tech.hatenablog.com/entry/affi_item_html_and_css */

.item-box {
  padding: 10px;
  border:  1px solid #ccc;
  border-radius: 5px;
  box-shadow: 1px 1px 5px #ccc;
}
.item-box:after {
    content: '';
    display: block;
    clear: both;
}

.item-box img {
  max-width: 100%;
}

.item-box > div {
  float:  left;
  width: 50%;
}

.item-box-left {
  padding-left: 0;
}

.item-box-right {
  position: relative;
}

.item-box-right h4 {
    margin: 0;
    padding: 10px;
    background: #eee;
}

.item-box-right h4 a {
      letter-spacing: 1px;
  font-size:  20px;
  font-weight: bold;
  color:  #666;
  margin-top: 0;
  padding-top: 0;
}

.item-box-right p {
  font-size: 14px;
}

.item-box-right .item-btn {
    font-size:18px;
    text-decoration:none;
    letter-spacing: 1px;
    display:block;
    text-align:center;
    padding: 10px 20px;
    color:#fff;
    background-color:#ff8a00;
    border-radius:5px;
    box-shadow:2px 2px 0 #ff8a00, 0px 3px rgba(0,0,0,0.5);
}

.item-box-right .item-btn a {
  text-decoration: none;
  color:  #fff;
  display: block;
}

.item-box-right .item-label {
  background-color:  #FBC02D;
  display: inline-block;
  border-radius: 50%;
  height: 80px;
  width: 80px;
  line-height: 80px;
  text-align: center;
  color: #fff;
  position: absolute;
  top: -50px;
  right: -50px;
  transform: rotate(10deg);
  box-shadow: 1px 1px 5px #ccc; 
}

@media screen and (max-width: 720px) {
  .item-box > div {
    width: 100%;
  }
  .item-box-right {
    margin-top: 40px;
  }

  .item-box-right .item-label {
    right: -20px;
  }
}

	/* グローバルメニューマテリアル化css */
/* hhttps://s41t0h.jp/cocoon-menu-material-customize/ */
nav#navi, .menu-header .sub-menu{
    font-weight: bold;
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.2);
}

.menu-header .sub-menu .item-label{
    font-size: 70%;
}
.menu-header .item-label{
    color: #dd3333 !important;
}
.menu-header .current-menu-item,
.menu-header .current-post-item,
.menu-header .current-menu-ancestor,
.menu-header .current-post-ancestor,
.menu-header .menu-item:hover {
    color: #dd3333 !important;
    border-bottom: 3px solid #dd3333;
    transition: all .2s ease;
}

.menu-header .sub-menu .menu-item,
.menu-header .sub-menu .menu-item:hover{
    border-bottom: none;
}
.menu-header .current-menu-item>a .item-label,
.menu-header .current-post-item>a .item-label,
.menu-header .current-menu-ancestor>a .item-label,
.menu-header .current-post-ancestor>a .item-label,
.menu-header .item-label:hover{
    color: #333 !important;
    transition: all .2s ease;
}


	/* リンクボタンカスタマイズ https://www.nxworld.net/tips/css-only-button-design-and-hover-effects.html */	
.button {
  display: block;
  width: 500px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.button {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border: 2px solid #dd3333;
  color: #dd3333;
  line-height: 50px;
  overflow: hidden;
}
.button:hover {
  color: #fff;
}
.button::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(.5);
  transform: scale(.5);
}
.button:hover::after {
  background: #dd3333;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/*********
カエレバ風アフィリエイト
https://www.iscle.com/web-it/kaereba-css.html
*********/
.af-box{
    border-radius: 5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border: 1px solid #d1d1d1;
    padding: 10px;
    margin: 0 8px;
}
.af-imgbox{
    width: 160px;
    margin-right: 10px;
    float: left;
    text-align: center;
}
.af-textbox{
    width: 100%;
}
.af-title{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}
.af-desc{
    font-size:14px;
    margin-bottom: 10px;
}
.af-kobox{
    width: 120px;
    margin: 0 5px 0 0;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    float: left;
    text-align: center;
}
.af-kobox a.aflink{
    display: block;
    padding: 5px 0 5px 0;
    text-decoration: none;
}
.af-amazon{
    border: 1px solid #F3A847;
}
.af-amazon a{
    color: #F3A847;
}
.af-rakuten{
    border: 1px solid #BF0000;
    color: #BF0000;
}
.af-rakuten a{
    color: #BF0000;
}
.af-blue{
    border: 1px solid #1995DF;
    color: #1995DF;
}
.af-blue a{
    color: #1995DF;
}
.clear{clear:both;}
@media screen and (max-width: 399px) {

    .af-imgbox{
        margin: 0 auto;
        text-align: center;
        float: none;
    }

}


/*見出しカスタマイズhttps://web-ashibi.net/archives/1899*/


.article h2 {
    color: #fff;
    padding: .7em 1em;
    margin-top: 80px;
    background: #d33;
}
.article h3 {
    color: #444d53;
    padding: .5em 0;
    margin-top: 40px;
}
.article h4 {
    color: #444d53;
    padding: .2em 1em;
    margin-top: 40px;
    border-left: 6px solid #444d53;
}
.article h5 {
    color: #444d53;
    margin-top: 40px;
    border-bottom: solid 2px #444d53;
}
.article h6 {
    color: #444d53;
    margin-top: 40px;
    border-bottom: solid 1px #444d53;
}