@charset "utf-8";
/*==========================================
howfun/howfun.html
===========================================*/

@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
@import url(https://fonts.googleapis.com/css?family=Raleway:400,300,800);
figure.howfun {
    font-family: 'Raleway', Arial, sans-serif;
    position: relative;
    float: left;
    overflow: hidden;
    width: 50%;
    color: #ffffff;
    text-align: left;
}

figure.howfun * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

figure.howfun img {
    max-width: 100%;
    position: relative;
    vertical-align: top;
}

figure.howfun .circle {
    position: relative;
    height: 55px;
    width: 55px;
    top: 0%;
    left: 0%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    text-align: center;
}

figure.howfun .circle:before,
figure.howfun .circle:after {
    border: 2px solid white;
    border-right-color: transparent;
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

figure.howfun .circle:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

figure.howfun .circle:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

figure.howfun figcaption {
    position: absolute;
    top: 80%;
    left: 20px;
    display: block;
    width: 100%;
    overflow: hidden;
}

figure.howfun h3 {
    position: absolute;
    margin: 0;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 55px;
    top: 0%;
    left: 0%;
    width: 100%;
    padding: 0 20px;
    opacity: 0;
    -webkit-transform: translateX(-10%);
    transform: translateX(-10%);
}

figure.howfun .icon {
    overflow: hidden;
    width: 100%;
    position: absolute;
}

figure.howfun i {
    color: white;
    font-size: 48px;
    line-height: 55px;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

figure.howfun a {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
}

figure.howfun:hover .circle,
figure.howfun.hover .circle {
    background-color: rgba(0, 0, 0, 0);
}

figure.howfun:hover .circle:before,
figure.howfun.hover .circle:before,
figure.howfun:hover .circle:after,
figure.howfun.hover .circle:after {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

figure.howfun:hover h3,
figure.howfun.hover h3 {
    opacity: 1;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

figure.howfun:hover img,
figure.howfun.hover img {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

figure.howfun:hover i,
figure.howfun.hover i {
    opacity: 0;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

figure.howfun .circle:before,
figure.howfun .circle:after {
    border: 2px solid white;
    border-right-color: transparent;
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

figure.howfun .circle:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

figure.howfun .circle:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/*上（画像左）下（画像右）*/

figure.howfun .circle_2 {
    position: relative;
    height: 55px;
    width: 55px;
    top: 0%;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    text-align: center;
}

figure.howfun .circle_2:before,
figure.howfun .circle_2:after {
    border: 2px solid white;
    border-right-color: transparent;
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

figure.howfun .circle_2:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

figure.howfun .circle_2:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

figure.howfun h3.h3sub {
    position: absolute;
    margin: 0;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 55px;
    top: 0%;
    left: 50%;
    width: 100%;
    padding: 0 20px;
    opacity: 0;
    -webkit-transform: translateX(-10%);
    transform: translateX(-10%);
}

figure.howfun:hover .circle_2,
figure.howfun.hover .circle_2 {
    background-color: rgba(0, 0, 0, 0);
}

figure.howfun:hover .circle_2:before,
figure.howfun.hover .circle_2:before,
figure.howfun:hover .circle_2:after,
figure.howfun.hover .circle_2:after {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

figure.howfun:hover h3.h3sub,
figure.howfun.hover h3.h3sub {
    opacity: 1;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

figure.howfun .circle_2:before,
figure.howfun .circle_2:after {
    border: 2px solid white;
    border-right-color: transparent;
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease-in-out;
    transition: all 0.35s ease-in-out;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

figure.howfun .circle_2:before {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

figure.howfun .circle_2:after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
