﻿@import url(http://fonts.googleapis.com/css?family=Dosis:400,700);


#wrap {
  width: 100%;
  height: 670px;
  margin: 0 auto;
  background-color: #b3d2f8;
  position: relative;
}

.cloud1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(./cloud1.png) repeat-x;
}
.cloud2 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(./cloud2.png) repeat-x;
}

#saku {
  width: 100%;
  height: 310px;
  margin: 0 auto;
  position: absolute;
  bottom: 0;
  background: url(./kousya_.png) top repeat-x;
}


html {
  overflow-x: hidden;
}

body {
  font-family: "メイリオ","ヒラギノ角ゴ Pro W3",Arial,Helvetica;
  line-height: 1.6;
  color: #000;
  font-size: 12px;
}

*::selection { background: #eee; }
*::-moz-selection { background: #eee; }


/*******HEADER*******/



#header {
  width: 900px;
  margin: 0 auto;
  padding: 80px 0 180px;
  position: relative;

}

.mayuzumi {
  height: 187px;
  width: 85px;
  position: absolute;
  bottom: -126px;
  left: 230px;
}

.akashi {
  height: 178px;
  width: 76px;
  position: absolute;
  bottom: -126px;
  right: 230px;
}

h1 {
  padding: 0;
  margin: 0 auto 15px;
  width: 85px;
  height: 85px;
  background: url(../../images/yu_.png) no-repeat;
  text-indent: -9999px;
  background-size: 85px 85px;
  z-index: 999;
}
@media screen and (-webkit-min-device-pixel-ratio:2),
                  (min-resolution: 2dppx){
  body{
    background-image: url("yu_@2x.png");
  }
}

.nav {
  font-size: 50px;
  margin-top: 0px;
  text-align: center;
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
}

.mayu {
  font-size: 30px;
  margin-top: 5px;
}

.nav li {
  display: inline;
  margin: 0 10px;
}


/*******CONTENT*******/

#content {
  font-size: 12px;
  color: #555;
  text-align: left;
  margin: -30px auto 150px;
  width: 600px;
  line-height: 1.7;
}

h2 {
  font-size: 18px;
  font-family: 'Dosis', sans-serif;
  color: #333;
  width: 200px;
  float: left;
}

.text {
  width: 400px;
  float: right;
}

h3 {
  font-family:'Open Sans','Helvetica','Arial','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  background: #adb6cf;
  color: #fff;
  display: inline;
  padding: 5px 7px;
  margin: 30px 0;
  font-weight: normal;
  border-radius: 4px;		/* CSS3草案 */
  -webkit-border-radius: 4px;	/* Safari,Google Chrome用 */
  -moz-border-radius: 4px;	/* Firefox用 */
}

.article {
  padding-top: 25px;
  clear:both;
}

.article p {
  padding: 7px 0 7px 0;
}


/*******LINK*******/

a {
  -webkit-transition:0.3s ease;
  -webkit-transition-property:opacity,border,color,background;
  -moz-transition:0.3s ease;
  -moz-transition-property:opacity,border,color,background;
  -o-transition:0.3s ease;
  -o-transition-property:opacity,border,color,background;
  transition:0.3s ease;
  transition-property:opacity,border,color,background;

  padding: 0 2px;
}

#wrap a:link, #wrap a:visited {
  color: #222;
  text-decoration: none;
}

#wrap a:hover {
  color: #222;
  text-decoration: none;
}


#wrap a{
    display: inline-block;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
}
 
#wrap a:hover {
    -webkit-transform: rotate(7deg);
    -moz-transform: rotate(7deg);
    -o-transform: rotate(7deg);
    -ms-transform: rotate(7deg);
    transform: rotate(7deg);
}




.text a:link, .text a:visited {
  color: #ffd300;
  text-decoration: none;
}

.text a:hover {
  color: #e4e4e4;
  text-decoration: none;
}

.text a:link img {
	opacity: 1;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.text a:hover img {
	opacity: .5;
}

.bm a.nbn {
  width: 194px;
  height: 38px;
  display: block;
  border: 1px solid #6ba7e4;
  font-size: 18px;
  font-family: 'Dosis', sans-serif;
  color: #6ba7e4;
  text-decoration: none;
  font-weight: 700;
  line-height: 38px;
  text-align: center;
  margin-left: 2px;
}

.bm a:hover.nbn {
  color: #eee;
}

.bm a {
  float: left;
}


/* Buzz Out */
@-webkit-keyframes hvr-buzz-out {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0);
  }

  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0);
  }
}

@keyframes hvr-buzz-out {
  10% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  20% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  30% {
    -webkit-transform: translateX(3px) rotate(2deg);
    transform: translateX(3px) rotate(2deg);
  }

  40% {
    -webkit-transform: translateX(-3px) rotate(-2deg);
    transform: translateX(-3px) rotate(-2deg);
  }

  50% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  60% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  70% {
    -webkit-transform: translateX(2px) rotate(1deg);
    transform: translateX(2px) rotate(1deg);
  }

  80% {
    -webkit-transform: translateX(-2px) rotate(-1deg);
    transform: translateX(-2px) rotate(-1deg);
  }

  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0);
  }

  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0);
  }
}

.hvr-buzz-out {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.hvr-buzz-out:hover, .hvr-buzz-out:focus, .hvr-buzz-out:active {
  -webkit-animation-name: hvr-buzz-out;
  animation-name: hvr-buzz-out;
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}












/* iPHone4,iPhone5,iPhone5s,iPhone6 */
@media screen and (min-width: 320px) and (max-width: 413px)
{
  html {
    -moz-background-size:contain;
    background-size:contain; 
  }

  body {
    font-size: 20px;
  }



#header {
  width: 100%;
  margin: 0 auto;
  padding: 60px 0 180px;
  position: relative;

}


h1 {
  margin: 6% auto 5px;
}

.mayuzumi {
  position: absolute;
  bottom: -126px;
  left: 30px;
}

.akashi {
  position: absolute;
  bottom: -126px;
  right: 30px;
}

h2 {
  font-size: 18px;
  font-family: 'Dosis', sans-serif;
  color: #333;
  float: none;
  width: 100%;
}

.text {
  float: none;
  width: 100%;
}


  #content {
    width: 85% !important;
    margin: -30px auto 60px !important;
  width: 100%;
  }

  .nav, .mayu {
    margin: 0 0 0px;
  }
}



/* iPHone4,iPhone5,iPhone5sのみ */
@media screen and (min-width: 320px) and (max-width: 374px)
{
  .nav li {
    font-size: 60%;
    margin: 0 2px;
  }
}



/* iPhone6のみ */
@media screen and (min-width: 375px) and (max-width: 413px)
{
  .nav li {
    font-size: 80%;
    margin: 0 2px;
  }
}



/* iPhone6 Plus ~ ちょっと大きいスマホまで */
@media screen and (min-width: 414px) and (max-width: 499px)
{
  html {
    -moz-background-size:contain;
    background-size:contain; 
  }

  body {
    font-size: 20px;
  }

#header {
  width: 100%;
  margin: 0 auto;
  padding: 60px 0 130px;
  position: relative;

}

h1 {
  margin: 6% auto 5px;
}

.mayuzumi {
  position: absolute;
  bottom: -126px;
  left: 40px;
}

.akashi {
  position: absolute;
  bottom: -126px;
  right: 40px;
}

h2 {
  font-size: 18px;
  font-family: 'Dosis', sans-serif;
  color: #333;
  float: none;
  width: 100%;
}

.text {
  float: none;
  width: 100%;
}


  #content {
    width: 85% !important;
    margin: 10px auto 60px !important;
  width: 100%;
  }

  .nav, .mayu {
    margin: 0 0 0px;
  }
}


/* iPhone横 */
@media only screen
    and (min-device-width:320px)
    and (max-device-width:480px)
    and (orientation:landscape) {

  html {
    background-position: center 150px;
    -moz-background-size:80%;
    background-size:80%;
  }

#header {
  width: 100%;
  margin: 0 auto;
  padding: 60px 0 180px;
  position: relative;

}

.mayuzumi {
  position: absolute;
  bottom: -126px;
  left: 140px;
}

.akashi {
  position: absolute;
  bottom: -126px;
  right: 140px;
}


}




/*768px*/
@media only screen
	and (min-device-width:768px) 
	and (max-device-width:1024px) 
	and (orientation:portrait){
#header {
  width: 100%;
  margin: 0 auto;
  padding: 60px 0 180px;
  position: relative;

}

.mayuzumi {
  position: absolute;
  bottom: -126px;
  left: 140px;
}

.akashi {
  position: absolute;
  bottom: -126px;
  right: 140px;
}



}
