@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans+SC|Raleway:300,400');
@import url('https://fonts.googleapis.com/css?family=Questrial');

@import url(https://fonts.googleapis.com/earlyaccess/sawarabigothic.css);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

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

/*-----------
style.css
-----------*/

html, body {
  /*font-family:'Mplus 1p', sans-serif;*/
  height: 100%;
  font-family: 'Sawarabi Gothic', sans-serif;
  background:#F9FAFB;
}

a {
  text-decoration: none;
  color: #000;
}

a:hover {
  border-bottom: 1px solid #333;
  padding: 10px;
}

h1 {
  color: #fff;
  font-size: 2.0em;
  font-family: 'Alegreya Sans SC', sans-serif;
  text-align: center;
  padding-top: 16vh;
}

table {
  border-collapse: collapse;
  margin: 0 auto;
  line-height: 2.2;
  margin-top: 50px;
  font-weight: 400;
}

td, th {
  padding: 10px;
  text-align: left;
}

div.pagebox {
  min-height: 100%;
}
.mlogo {
    display: none;
}

#nav {
  position: fixed;
  top: 30px;
  left: 50px;
  width: 100%;
  text-align: left;
  z-index: 1;
}

#nav ul {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

#nav ul li {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 1.6em;
  line-height: 1.5;
}

#nav ul li a {
  text-decoration: none;
  padding: 0 0.3em;
  color: #fff;
  margin: 20px;
}

#nav ul li a:hover {
  background-color: #000;
  color: white;
}

#nav ul li img {
  width: 160px;
  vertical-align: middle;
  margin-right: 30px;
  margin-bottom: 20px;
}

#home {
  background: linear-gradient(-40deg, rgba(225, 79, 173, .6), rgba(249, 212, 2, .6)) fixed,
  url(../image/bg1.jpg) fixed;
  background-size: cover;
  background-position: center;
}
.catch {
  color:#000;
  font-family: 'Questrial', sans-serif;
  line-height: 1.5;
  text-align: center;
  padding-top:35vh;
  padding-left:32px;
  padding-right:32px;
  font-size:1.8em;
}
.n-btn {
  padding:10px 10px 60px 10px;
  text-decoration: none;
  color:#fff;
  background: #000;
  font-size:0.8em;
  font-family: 'Alegreya Sans SC', sans-serif;
}
 a:hover.n-btn{
  padding:10px 10px 60px 10px;
  text-decoration: none;
}



.ion-ios-flame {
  color:#C93A40;
}

.cbg {
  background: #000;
  height: 34vh;
  background-image: url("../image/bg3.jpg");
  background-size: cover;
}

.sbg {
  background: #000;
  height: 34vh;
  background-image: url("../image/bg4.jpg");
  background-size: cover;
  background-position: center;
}

.ftr {
  text-align: center;
}

.ion-ios-arrow-down {
  color: #000;
  font-size: 3.0em;
}


#service ul {
  display: flex;
  margin: 10px;
}

#service li {
  color: #000;
  margin: 10px;
  background: #fff;
  padding: 20px;
  line-height: 1.8;
  width: 30%;
}

#service span {
  text-align: center;
  font-size: 1.6em;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
}

.icon {
  text-align: center;
  font-size: 3.0em;
}

.cbg {
  background: linear-gradient(270deg, #2fa385, #df3f2e, #dfb42e);
  background-size: 600% 600%;
  -webkit-animation: AnimationName 14s ease infinite;
  -moz-animation: AnimationName 14s ease infinite;
  animation: AnimationName 14s ease infinite;
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

@-moz-keyframes AnimationName {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

@keyframes AnimationName {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

#contact p {
  margin-top: 20px;
}

.crp {
  font-size: 0.85em;
  width: 760px;
  margin: 30px auto;
  line-height: 1.4;
  background: #fff;
  padding:26px;

}

.crp dt {
  font-weight: bold;
  text-align: left;
  margin-top: 10px;
}

.crp dd {
  padding: 5px 0;
}
.frm {
  max-width: 400px;
  margin: 50px auto;
  background: #fff;
  border-radius: 2px;
  padding: 20px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.frm h1 {
  display: block;
  text-align: center;
  padding: 0;
  margin: 0px 0px 20px 0px;
  color: #5C5C5C;
  font-size: x-large;
}

.frm ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.frm li {
  display: block;
  padding: 9px;
  border: 1px solid #DDDDDD;
  margin-bottom: 30px;
  border-radius: 3px;
}

.frm li:last-child {
  border: none;
  margin-bottom: 0px;
  text-align: center;
}

.frm li>label {
  display: block;
  float: left;
  margin-top: -19px;
  background: #FFFFFF;
  height: 14px;
  padding: 2px 5px 2px 5px;
  color: #B9B9B9;
  font-size: 14px;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.frm input[type="text"],
.frm input[type="date"],
.frm input[type="datetime"],
.frm input[type="email"],
.frm input[type="number"],
.frm input[type="search"],
.frm input[type="time"],
.frm input[type="url"],
.frm input[type="password"],
.frm textarea,
.frm select {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
  display: block;
  outline: none;
  border: none;
  height: 25px;
  line-height: 25px;
  font-size: 16px;
  padding: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.frm input[type="text"]:focus,
.frm input[type="date"]:focus,
.frm input[type="datetime"]:focus,
.frm input[type="email"]:focus,
.frm input[type="number"]:focus,
.frm input[type="search"]:focus,
.frm input[type="time"]:focus,
.frm input[type="url"]:focus,
.frm input[type="password"]:focus,
.frm textarea:focus,
.frm select:focus {}

.frm li>span {
  background: #F3F3F3;
  display: block;
  padding: 3px;
  margin: 0 -9px -9px -9px;
  text-align: center;
  color: #C0C0C0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.frm textarea {
  resize: none;
}

.frm input[type="submit"],
.frm input[type="button"] {
  background: #000;
  border: none;
  padding: 10px 20px 10px 20px;
  border-bottom: 3px solid #ccc;
  color: #fff;
}

.frm input[type="submit"]:hover,
.frm input[type="button"]:hover {
  background: #333;
  color: #fff;
}

.thanks {
  text-align: center;
  font-size: 1.6em;
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  margin-bottom: 20px;
}
/*-----------

-----------*/
@media screen and (max-width:){

.cbg {
  height:15%;
  background: linear-gradient(270deg, #2fa385, #df3f2e, #dfb42e);
  background-size: 600% 600%;
  -webkit-animation: AnimationName 14s ease infinite;
  -moz-animation: AnimationName 14s ease infinite;
  animation: AnimationName 14s ease infinite;
}

@-webkit-keyframes AnimationName {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

@-moz-keyframes AnimationName {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}

@keyframes AnimationName {
  0% {
    background-position: 0% 50%
  }
  50% {
    background-position: 100% 50%
  }
  100% {
    background-position: 0% 50%
  }
}
}
