@charset "utf-8";

/*==================================================
オンマウススケールアップボタン
オンマウスでズームと解説表示
帯囲みナナメ抜きボタン
====================================================*/


/* ------------------------------------------------- *
 *        オンマウススケールアップボタン
 * ------------------------------------------------- */
.img_box {
    overflow: hidden;
    position: relative;
}
.img_box:before {
    bottom: 0;
    content: '';
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
.nose_obi_tate {
    position: absolute;
    padding: 0;
    z-index: 130;
    opacity: 100%;
    top: 0px;
}
.nose_obi_tate img {
    width: 60%;
}
.nose_obi_yoko {
    position: absolute;
    padding: 0;
    z-index: 130;
    opacity: 100%;
    bottom: 0px;
}
.nose_obi_yoko img {
    width: 90%;
}
.nose_obi_righttop {
    position: absolute;
    padding: 0;
    z-index: 130;
    opacity: 100%;
    top: 0px;
}
.nose_obi_righttop img {
    margin: 10px;
    width: 65%;
}
.scale_up {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.scale_up img {
    -moz-transition: -moz-transform 0.5s linear;
    -webkit-transition: -webkit-transform 0.5s linear;
    -o-transition: -o-transform 0.5s linear;
    -ms-transition: -ms-transform 0.5s linear;
    transition: transform 0.5s linear;
}
.scale_up img:hover {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}


/* ------------------------------------------------- *
 *        オンマウスでズームと解説表示
 * ------------------------------------------------- */

.contents-index {
    display: block;
    float: right;
    padding: 0px;
    overflow: hidden;
}
.contents-index img {
    height: auto;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    vertical-align: bottom;
}
.contents-index figure {
    margin: 0;
    overflow: hidden;
    position: relative;
    text-align: center;
}
.contents-index figcaption {
    font-size: 17px;
    background-color: rgba(0,0,0,0.6);
    color: #FFF;
    opacity: 0;
    position: absolute;
    text-align: center;
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 5%; /*グレー帯のサイズ*/
    padding-top: 25%;
}
.contents-index a:hover>figure img {
    transform: scale(1.15, 1.15);
    -webkit-transform: scale(1.15, 1.15);
    -moz-transform: scale(1.15, 1.15);
    -ms-transform: scale(1.15, 1.15);
    -o-transform: scale(1.15, 1.15);
}
.contents-index a:hover>figure figcaption {
    opacity: 1;
}
.contents-index p {
    margin: 5px 10px;
    text-align: left;
}
.contents-index i {
    margin-right: 10px;
}
.contents-index a {
    color: #FFF;
    text-decoration: none;
}
.contents-index a:hover {
    color: #FFF;
}
.contents-index a:visited {
    color: #FFF;
}


/* ------------------------------------------------- *
 *        帯囲みナナメ抜きボタン
 * ------------------------------------------------- */
    
a.cp_btn {
    font-size: 22px;
    display: block;
    position: relative;
    width: 100%;
    padding: 0.8em;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: 1px solid #aaa7a5;
    background: #aaa7a5;
    overflow: hidden;
    z-index: 1 !important;
}
a.cp_btn:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    height: 0;
    width: 100%;
    background : #fff;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transition: 0.3s;
    z-index: -1;
}
a.cp_btn:hover {
    color: #4d2194;
}
a.cp_btn:hover:after {
    height: 400%;
    opacity: 1;
}
a.cp_btn:active:after {
    height: 350%;
    opacity: 1;
}

/* ------------------------------------------------- *
 *        オンマウス展開ボタン
 * ------------------------------------------------- */
.tenkai_btn {
  display: inline-block;
  width: 160px;
  text-align: center;
  text-decoration: none;
  line-height: 30px;
  outline: none;
  color: #222;
  background-color: #fff;
  position: relative;
  border: 2px solid #222;
  transition: color 0.5s ease;
}
.tenkai_btn:hover {
  color: #fff;
}
.tenkai_btn:hover::before {
  transform: scaleY(1);
}
.tenkai_btn::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #222;
  transform: scaleY(0);
  transition: all 0.5s ease;
  transition-property: transform;
}
.tenkai_btn_text {
  position: relative;
}
