/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    /* font-size: 100%;
	font: inherit; */
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*
 * Author: Carlos Alvarez
 * URL: http://Alvarez.is
 *
 * Project Name: NYC Design
 * Version: 1.0
 * Date: 04-20-2014
 * URL: 
 */

/* ==========================================================================
   Base Styles, Bootstrap Modifications & Fonts Import
   ========================================================================== */

@import url(http://fonts.googleapis.com/css?family=Oswald:400,300,700);
@import url(http://fonts.googleapis.com/css?family=Lato:400,700);

@font-face {
    font-family: kodomo;
    src: url('../fonts/KodomoRounded.woff')format('woff');
}

html,
button,
input,
select,
textarea {
    color: #222;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

::selection {
    background: #16a085;
    color: #a4003a;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.centered {
    text-align: center
}


/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    height: 100%;
}

body {
    /*    font-family: "Lato" sans-serif;*/
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0.2em;
    /*    color: #000;*/
    color: #252525;
    background-color: #fffaf0;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 300;
}

h1,
h2 {
    text-align: center;
}

h3 {
    margin: 20px 5px;
    ;
}

p {
    margin: 0px 0px 5px 5px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: initial;
    line-height: 1.4;
    letter-spacing: .05em;
}

iframe {
    margin-top: 20px;
}

.class-list {
    position: relative;
}

.class-list li {
    list-style: none;
    border: solid 1px;
    border-radius: 50px;
    width: 30%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    margin-top: 2px;
}

/* ==========================================================================
   MENU CONFIGURATION
   ========================================================================== */

.menu.menu-open {
    right: 0px;
}

.menu-wrap {
    position: absolute;
    top: 0;
    left: 60px;
    width: 200px;
    height: 100%;
    padding-top: 20px;
}

.menu h1.logo a {
    font-family: "Oswald", sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.15em;
    line-height: 40px;
    text-transform: uppercase;
    color: #252525;
}

.menu h1.logo a:hover {
    color: #c5e7ffc2;
}

.menu img.logo {
    margin: 20px 0;
    max-width: 160px;
}

.menu a {
    margin-left: 20px;
    color: #252525;
    display: block;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.menu a:hover {
    color: #c5e7ffc2;
}

.menu a:active {
    color: #252525;
}

.menu ul {
    padding: 20px 3px;
}

.menu li {
    list-style: none;
}

.menu a>i {
    /* float: left; */
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    width: 25px;
    font-size: 14px;
    line-height: 40px;
    margin: 25px 2px;
}

.menu-close {
    cursor: pointer;
    display: block;
    position: absolute;
    font-size: 14px;
    color: #252525;
    width: 40px;
    height: 40px;
    line-height: 40px;
    top: 20px;
    right: 5px;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

.menu-close:hover {
    color: #c5e7ffc2;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

/* Push the body after clicking the menu button */

.body-push {
    overflow-x: hidden;
    position: relative;
    left: 0;
}

.body-push-toright {
    left: 200px;
}

.body-push-toleft {
    left: -200px;
}

.menu,
.body-push {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

#menuToggle {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 11;
    display: block;
    text-align: center;
    font-size: 14px;
    color: #252525;
    width: 40px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

#menuToggle:hover {
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}


/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#headerwrap {
    /*	background: url(../img/back.jpg) no-repeat center top;*/
    margin-top: 0px;
    padding-top: 120px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 700px;
    width: 100%;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

h1 {
    margin-bottom: 20px;
}

#newswrap h1 {
    text-align: center;
}

#headerwrap h1 {
    /*	color:#ffffff;*/
    margin-top: 90px;
    padding-bottom: 30px;
    letter-spacing: 8px;
    font-size: 82px;
    font-weight: bold;
    /*	text-shadow: 2px 2px 2px #000;*/
}

/* About Wrap & Conf */

#aboutwrap {
    margin-top: 80px;
    margin-bottom: 80px;
}

.name {
    text-align: center;
}

.name p {
    font-size: 22px;
    font-weight: lighter;
    margin-top: 15px;
    letter-spacing: 2px;
}

.name-label {
    width: 60px;
    height: 60px;
    margin: 0 auto 45px;
    border-top: 1px solid #000;
    background: url(../img/name-label.png) center bottom no-repeat;
    background-size: 35px 35px;
}

.name-zig {
    width: 73px;
    height: 17px;
    margin: 38px 0 38px;
    background: url(../img/name-zig.png) 0 0 no-repeat;
    background-size: 73px 17px;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    line-height: 1.45;
    font-weight: 300;
}

/* Separator About - Parallax Section */

.sep {
    background-attachment: fixed;
    background-position: 50% 0;
    background-repeat: no-repeat;
    height: 450px;
    position: relative;
}

.about {
    background-image: url(../img/be-creative-creative-creativity-256514.jpg);
    background-size: contain;
}

/* Portfolio Wrap Section */

#portfoliowrap {
    display: block;
    margin-top: 80px;
    margin-bottom: 80px;
}

#portfoliowrap h1 {
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
}

.mt {
    margin-top: 50px;
}
.mt-25 {
    margin-top: 25px;
}

.mb {
    margin-bottom: 60px;
}
.mb-25  {
    margin-bottom: 25px;
}
#portfoliowrap i {
    font-size: 50px;
}

.proc {
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: solid 2px transparent;
}

#portfoliowrap .proc:hover {
    background-color: #c5e7ffc2;
    border-bottom: solid 2px #c5e7ff
}

.portfolio {
    background-image: url(../img/4k-wallpaper-adorable-blur-1148998.jpg);
    background-size: contain
}

/* Service Wrap */

#servicewrap {
    display: block;
    margin-top: 80px;
    margin-bottom: 80px;
}

#servicewrap h1 {
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
}

.service {
    text-align: left;
}

.service small {
    font-size: 12px;
    font-weight: bold
}

.service i {
    float: left;
    margin-right: 15px;
    font-size: 30px;
    vertical-align: middle;
}

.service .text {
    color: #252525;
    margin: 2% 0%;
}

/* Testimonials Wrap */

#testimonials {
    display: block;
    margin-top: 80px;
    margin-bottom: 80px;
    background-color: #252525;
}

/* Contact Wrap */

#contactwrap {
    background-color: #f2f2f2;
    margin-top: 0px;
    padding-top: 25px;
    padding-bottom: 25px;
}

#contactwrap p {
    color: #252525;
}

#contactwrap small {
    font-size: 13px;
}

.contact {
    background-image: url(../img/students-99506_640.jpg);
    background-size: contain;
}

#contactwrap label {
    color: #252525;
    margin-top: 10px;
}

#contactwrap h1 {
    color: #252525;
}

/* Gallery Configuration */

.photo-wrapper {
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #2f2f2f;
    -webkit-transition: background-color 0.4s;
    -moz-transition: background-color 0.4s;
    -o-transition: background-color 0.4s;
    transition: background-color 0.4s;
}

.project .overlay {
    position: absolute;
    text-align: center;
    color: #252525;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    transition: opacity 0.4s;

}

/* .project:hover .photo-wrapper {
    background-color: #2f2f2f;
    background-image: url(../img/zoom.png);
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    position: relative;
}

.project:hover .photo {
    opacity: 10;
    filter: alpha(opacity=4000);
    opacity: 0.1;
    filter: alpha(opacity=40);
}

.project:hover .overlay {
    opacity: 100;
    filter: alpha(opacity=10000);
    opacity: 1;
    filter: alpha(opacity=100);
} */

.desc {
    margin-top: 25px;
}



#title {
    font-family: kodomo
}

.wf-hannari {
    font-family: "Hannari";
    text-align: left;
}

.fa {
    font-size: 2.5em !important;
}

.fadeInDown {
    -webkit-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    visibility: visible !important;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(-20px);
        -ms-transform: translateY(-20px);
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

/* ナビゲーション */
nav {
    width: 100%;
    height: 70px;
    position: relative;
}


.btn,
.btn a {
    display: block;
    margin: 0 auto;
    font-size: 20px;
    color: #252525;
    background-color: #c5e7ffc2;
    width: fit-content;
    border-radius: 50px;
    border: 1px solid #252525;
}

.ez-map {
    min-height: 150px;
    min-width: 150px;
    height: 150px;
    width: 100%;
}

/* レスポンシブ */
/** ナビゲーション **/
@media (min-width: 992px) {
    #menuToggle {
        display: none;
    }

    .menu-wrap {
        left: 0px;
        width: 100%;
        height: 120px;
        background: #c5e7ff;
        ;
    }

    .menu .logo {
        text-align: center;
    }

    .menu {
        right: 0px;
        width: 100%;
        height: 100px;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    .menu ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        font-size: 1.5rem;
        background-color: #f6f6f680;
    }

    .menu ul li {
        border-bottom: none;
        list-style: none;
    }

    .menu a {
        color: #252525;
        margin: initial;
    }

    .menu-close,
    .menu-close::before {
        display: none;
    }
}

@media (max-width: 991px) {
    h1 {
        text-align: center;
        font-size: 1.7rem;
    }

    .menu {
        position: fixed;
        right: -200px;
        width: 260px;
        height: 100%;
        top: 0;
        z-index: 10;
    }

    .menu-wrap {
        padding-top: 80px;
        background-color: #c5e7ff;
    }

    p {
        font-size: 0.8em;
    }

    #headerwrap {
        padding-top: 50px;
    }

    #headerwrap h1 {
        margin-top: 10px;
        font-size: 14vw;
        padding-left: 5vw;
    }

    .top-image {
        margin-bottom: -20px;
    }

    .main-menu {
        font-size: 1em;
    }

    .menu a {
        font-size: 1em;
    }

    .class-list li {
        width: 70%;
    }

    .ez-map {
        min-height: 200px;
        height: 200px;
    }

}

/* .char {
    display: inline-block;
    opacity: calc( 
      1 + ( 
        ( var(--viewport-y) * 1.5 )
        - var(--char-percent)
      )
    );
  }
*,
*:before,
*:after {
  position: relative;
  box-sizing: border-box;
} */

.eye-catch {
    margin-top: 100px;
}

#animation {
    -webkit-text-fill-color: transparent;
    background-image: url("https://media.giphy.com/media/5bDAc3il2DySZAFGpQ/source.gif");
    background-size: cover;
    -webkit-background-clip: text;
    background-repeat: no-repeat;
}

/*1.フェードインアニメーションの指定*/
.scrollanime {
    opacity: 0;
}

/*一瞬表示されるのを防ぐ*/
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 5s;
    animation-fill-mode: forwards;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

/*2.上下の動きを指定*/
.updown {
    transform: translateY(-100px);
}

.downup {
    transform: translateY(100px);
}

/*3.左右の動きを指定*/
.sect02 {
    overflow: hidden;
}

/*横スクロールバーを隠す*/
.slide-right {
    transform: translateX(200px);
}

.slide-left {
    transform: translateX(-200px);
}
