/*
Theme Name: NAKED DESIRE
Author: SYNC-WORKS
Author URI: http://www.sync-works.jp/
Description: This theme was made for my work. I have created this as a experimental theme that integrated the technology of popular since about 2016 in Japan. I named from the third single of my favorite musician "access" becasue this theme is the third. By the way, I have heard that Hiroyuki Takami was happy that Yosui Inoue told that "it's a good title".
Version: 1.0
*/

/*@import url('css/animate.min.css');*/

/* Web fonts */
/*@import url('https://fonts.googleapis.com/css?family=Nunito+Sans');
@import url('https://fonts.googleapis.com/css?family=Quicksand');
@import url('https://fonts.googleapis.com/earlyaccess/sawarabigothic.css');*/
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans&family=Quicksand&family=Sawarabi+Gothic&display=swap');

@font-face {
    font-family: 'icomoon';
    src:  url('fonts/icomoon.eot?39cto');
    src:  url('fonts/icomoon.eot?39cto#iefix') format('embedded-opentype'),
          url('fonts/icomoon.ttf?39cto') format('truetype'),
          url('fonts/icomoon.woff?39cto') format('woff'),
          url('fonts/icomoon.svg?39cto#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Baseline Style */
html, body {
    height: 100%;
}
html, input, textarea, select {
    font-size: 62.5%; /* 62.5% = 1.0rem = 1px */
}
body, input, textarea, select {
    color: #323333;
    font-size: 18px; font-size: 1.8rem;
    font-family: 'Quicksand', 'Sawarabi Gothic', sans-serif;
    /*font-family: Roboto, "游ゴシック", YuGothic, "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif;*/
    font-weight: normal;
}
body {
    background: #f9f9f9;
    line-height: 1.5;
}
a, a:visited {
    color: #AD002D;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
li {
    list-style: none;
}
strong {
    color: #AD002D;
    font-weight: bold;
}

/* Common Class Style */
.font-xxsmall { font-size:  75%; }
.font-xsmall  { font-size:  80%; }
.font-small   { font-size:  90%; }
.font-medium  { font-size: 100%; }
.font-large   { font-size: 110%; }
.font-xlarge  { font-size: 120%; }
.font-xxlarge { font-size: 135%; }
.wrapper-wide {
    width: 100%;
}
.wrapper-narrow {
	position: relative;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.section {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
}
.section-inner {
    box-sizing: border-box;
    padding: 3em 1em;
    overflow: hidden;
}
.section-title {
    margin-bottom: 0.5em;
    font-family: 'Nunito Sans', 'Sawarabi Gothic', sans-serif;
    font-size: 36px; font-size: 3.6rem;
    font-weight: bold;
    text-align: center;
}
.section-subtitle {
    margin-bottom: 0.5em;
    font-family: 'Nunito Sans', 'Sawarabi Gothic', sans-serif;
    font-size: 27px; font-size: 2.7rem;
    font-weight: normal;
}
.explanation-left {
    border-left: 0.5em solid #AD002D;
    padding: 1em 0 1em 1em;
    text-align: left;
    line-height: 2;
}
.explanation-right {
    border-right: 0.5em solid #AD002D;
    padding: 1em 1em 1em 0;
    text-align: right;
}
.rows > div {
    float: left;
    margin-top: 1em;
}
ul.flex-list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
}
dl.horizontal dt {
    float: left;
    width: 6em;
}
dl.horizontal dd {
    margin-left: 6em;
}
a.scroller {
    display: block;
    width: 40px;
    line-height: 1;
    color: #666;
    font-family: 'icomoon';
    font-size: 40px; font-size: 4.0rem;
    text-decoration: none;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

#page {
    display: inline;
    width: 100%;
    overflow: hidden;
}

/*--------------------------------------------------------------
    Header
--------------------------------------------------------------*/
#header {
    display: inline;
}

/* Header's part of Information */
#header #part-information {
    position: absolute;
    left: 2em;
    bottom: 2em;
    box-sizing: border-box;
    padding: 1em 2em;
    max-width: 35%;
    background: rgba(0,0,0,0.62);
}
#header #part-information,
#header #part-information a {
    color: #fff;
}
#header #part-information dl {
    margin: 0.5em 0;
}

/*--------------------------------------------------------------
    Main of Front Page
--------------------------------------------------------------*/
/* Part of Introduction */
#part-introduction {
    background: #f9f9f9;
}

/* Part of Services */
#part-services {
    background: #fff;
}
#part-services .flex-list li {
    position: relative;
    width: 100%;
    max-width: 250px;
    margin: 2em 2em 1em;
    font-size: 16px; font-size: 1.6rem;
}
#part-services .service-name  {
    font-size: 20px; font-size: 2.0rem;
    text-align: center;
}
#part-services .service-icon {
    font-family: 'icomoon';
    font-size: 80px; font-size: 8.0rem;
    text-align: center;
    animation: pulse 1s infinite;
}
#part-services li:nth-child(2n) .service-icon {
    animation-delay: 0.5s;
}
#part-services .service-reject {
    position: absolute;
    top: 0;
    left: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 1em;
    z-index: 1;
    font-weight: bold;
    background-color: rgba(255,255,255,0.9);
    text-align: justify;
}

/* Part of Works */
#part-works {
    background: #f9f9f9;
}
#part-works .work-list.flex-list > li {
    margin: 1em;
    position: relative;
}
#part-works .work-card {
    position: relative;
    -webkit-tansition: 0.5s;
    transition: 0.5s;
}
#part-works .work-card-front,
#part-works .work-card-back {
    overflow: hidden;
    width: 300px;
    height: 200px;
    position: relative;
}
#part-works .work-card-back {
    z-index: 1;
    opacity: 0;
    transition: 0.5s;
}
#part-works .work-image {
    position: absolute;
    left: -100%;
    right: -100%;
    top: -100%;
    bottom: -100%;
    margin: auto;
    width: auto;
    height: 100%;
    transition: 0.5s;
}
#part-works .work-card-back {
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
    padding: 1.5em 0.5em;
    color: #fff;
    text-align: center;
    background: rgba(0,0,0,0.8);
}
#part-works .work-client {
    margin-top: 0.25em;
    font-size: 14px; font-size: 1.4rem;
    font-weight: normal;
}
#part-works .work-description {
    margin: 0.5em 0 1em;
    font-size: 16px; font-size: 1.6rem;
}
#part-works .work-card.hovered .work-image {
    height: 120%;
}
#part-works .work-card.hovered .work-card-back {
    opacity: 1;
}
#part-works .work-card.hovered .work-title,
#part-works .work-card.hovered .work-client {
    animation: fadeInDown 0.25s 0.25s both;
}
#part-works .work-card.hovered .work-description {
    animation: fadeIn 0.25s 0.5s both;
}
#part-works .work-card.hovered li {
    animation-name: bounceInUp;
    animation-duration: 0.75s;
    animation-fill-mode: both;
}
#part-works .work-card.hovered li:nth-child(1) {
    animation-delay: 0.1s;
}
#part-works .work-card.hovered li:nth-child(2) {
    animation-delay: 0.2s;
}
#part-works .work-card.hovered li:nth-child(3) {
    animation-delay: 0.3s;
}
#part-works .work-card.hovered li:nth-child(4) {
    animation-delay: 0.4s;
}
#part-works .work-card.hovered li:nth-child(5) {
    animation-delay: 0.5s;
}

/*
#part-works .work-card.hovered .icon {
    -webkit-animation: bounceInUp 0.5s 0.25s both;
    animation: bounceInUp 0.5s 0.25s both;
}
#part-works .work-card.hovered .link {
    -webkit-animation: bounceInUp 0.6s 0.25s both;
    animation: bounceInUp 0.6s 0.25s both;
}*/
#part-works .work-card-back li {
    margin: 0 0.5em;
    font-size: 20px; font-size: 2.0rem;
    text-align: center;
    line-height: 1;
    box-sizing: border-box;
    padding: 0.5em;
}
#part-works .icon {
    color: #323333;
    font-family: 'icomoon';
    background-color: #fff;
    border-radius: 50%;
}
#part-works .link {
    font-family: 'icomoon';
    background-color: #fff;
    border-radius: 0.5em;
}
#part-works .link a,
#part-worls .link a:visited,
#part-works .link a:hover {
    color: #AD002D;
    text-decoration: none;
}

/* Part of Profile */
#part-profile {
    color: #fff;
    /*background: url(images/IMG_7316.JPG) fixed no-repeat right bottom;*/
    background: url(images/P1014146.jpg) fixed no-repeat right bottom;
    background-size: cover;
    position: relative;
}
#part-profile:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.4);
}
#part-profile .names {
    margin-bottom: 1em;
    line-height: 1.35;
}
#part-profile .name-kanji {
    letter-spacing: 0.2em;
}
#part-profile .business-title {
    font-size: 16px; font-size: 1.6rem;
    font-weight: normal;
}
#part-profile .name-kanji {
    font-size: 24px; font-size: 2.4rem;
}

/* Part of Contact */
#part-contact {
}

/* Part of identification */
#part-identification dt,
#part-identification dd {
    margin-bottom: 0.5em;
    line-height: 1.35;
}
#part-identification #map {
    width: 100%;
    height: 250px;
    margin-top: 1em;
}

/* Part of Mail Form */
#part-mailform input:not([type="submit"]),
#part-mailform textarea {
        width: 100%;
        box-sizing: border-box;
}

/* Google Map (Background) */
#map-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}
#map {
    height: 100%;
}



/**
 * The parts of frontispiece (composed of video and svg)
 **/
#frontispiece {
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    background: url(images/movie.png) no-repeat center center/cover;
}
#movie {
    position: absolute;
    width: 100%;
    height: auto;
}
#movie video {
    width: 100%;
    height: auto;
}
#logo-wrapper {
    position: relative;
    width: auto;
    height: 100%;
    z-index: 1;
    background: url(images/screen.png) repeat;
}
#logo, #image-logo {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
    max-width: 500px;
    max-height: 500px;
    background-color: rgba(255,255,255,0.8);
}

#toContents {
    position: absolute;
    width: 40px;
    left: 0;
    right: 0;
    bottom: 2%;
    margin: 0 auto;
    -webkit-animation: bounce 1s infinite;
    animation: bounce 1s infinite;
    z-index: 1;
}
#toContents a:before {
    margin-left: -1em;
    content: "\ea43";
}


#logo-mark-s {
    transform-origin: 25% center;
    animation: flipInY 1s 1s both;
}
#logo-mark-w {
    transform-origin: 75% center;
    animation: flipInY 1s 1.2s both;
}

@media screen and (min-width: 600px) {
    #logo-text path {
        -webkit-animation: fadeIn 0.1s ease-in both;
        animation: fadeIn 0.1s both;
    }
    #logo-text path:nth-child(1) {
        -webkit-animation-delay: 1800ms;
        animation-delay: 1800ms;
    }
    #logo-text path:nth-child(2) {
        -webkit-animation-delay: 1928ms;
        animation-delay: 1928ms;
    }
    #logo-text path:nth-child(3) {
        -webkit-animation-delay: 2080ms;
        animation-delay: 2080ms;
    }
    #logo-text path:nth-child(4) {
        -webkit-animation-delay: 2185ms;
        animation-delay: 2185ms;
    }
    #logo-text path:nth-child(5) {
        -webkit-animation-delay: 2609ms;
        animation-delay: 2609ms;
    }
    #logo-text path:nth-child(6) {
        -webkit-animation-delay: 3064ms;
        animation-delay: 3064ms;
    }
    #logo-text path:nth-child(7) {
        -webkit-animation-delay: 3176ms;
        animation-delay: 3176ms;
    }
    #logo-text path:nth-child(8) {
        -webkit-animation-delay: 3329ms;
        animation-delay: 3329ms;
    }
    #logo-text path:nth-child(9) {
        -webkit-animation-delay: 3504ms;
        animation-delay: 3504ms;
    }
    #logo-text path:nth-child(10) {
        -webkit-animation-delay: 3696ms;
        animation-delay: 3696ms;
    }
    #logo-mark-s {
        animation-delay: 4.7s;
    }
    #logo-mark-w {
        animation-delay: 4.9s;
    }
}


/* Scroll Animation */
.effects h2, .effects h3, .effects p,
.effects li, .effects img, .effects dt,
.effects dd {
    opacity: 0;
}
.effected li:nth-child(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}
.effected li:nth-child(3) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}
.effected li:nth-child(4) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}
.effected li:nth-child(5) {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}
.effected li:nth-child(6) {
    -webkit-animation-delay: 1.0s;
    animation-delay: 1.0s;
}
.effected h2, .effected h3, .effected p,
.effected li, .effected img, .effected dt,
.effected dd {
    -webkit-animation: fadeInUpHalf 1s 1 both;
    animation: fadeInUpHalf 1s 1 both;
}


/* Button for return to top of the window */
#toTop {
    position: fixed;
    right: 5%;
    bottom: 5%;
}
#toTop a:before {
    margin-left: -1em;
    content: "\ea41";
}

/* Footer */
#footer {
    clear: both;
    /*argin-top: 4%;*/
    padding: 4% 0;
    color: #fff;
    font-size: 16px; font-size: 1.6rem;
    background: #323333;
}

/* for PC and Tablet */
@media screen and (min-width: 600px) {
    .rows > div:not(:last-child) {
        margin-right: 2em;
    }
}


/* for smart phone */
@media screen and (max-width:599px) {
    dl.horizontal dt {
        float: none;
        width: auto;
        margin-bottom: 0;
    }
    dl.horizontal dd {
        margin-left: 1em;
        margin-bottom: 1%;
    }
    #frontispiece {
        width: auto;
        height: 100%;
    }
    #movie {
        width: 100%;
        height: 100%;
    }
    #movie video {
        display: none;
    }
    #logo, #image-logo {
        margin-left: 10%;
        margin-right: 10%;
    }
    #header #part-information {
        display: none;
    }
    .explanation-left {
        line-height: 1.5;
    }
    .explanation-right {
        border-right: none;
        border-left: 0.5em solid #AD002D;
        padding: 1% 0 1% 0.5em;
        text-align: left;
    }
    #contact .flex {
        flex-wrap: wrap;
    }
    #contact__info, #contact_form {
        margin: 4% 0;
    }
    #footer {
        padding: 4%;
    }
}

@keyframes fadeInUpHalf {
    from {
        opacity: 0;
        transform: translate3d(0, 3rem, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}