/* -------------------------------- 

Primary style

-------------------------------- */
@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url(https://fonts.googleapis.com/earlyaccess/mplus1p.css);
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed);

*, *::after, *::before {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 62.5%;
  //-webkit-font-smoothing: none;
  -webkit-font-smoothing: antialiased;
  //-webkit-font-smoothing: subpixel-antialiased;
}

body {
  font-family: 'Noto Sans Japanese', sans-serif;
  //font-family: 'Mplus 1p';
  //font-family: 'Roboto Condensed', sans-serif;
  
  //font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI","Noto Sans Japanese","ƒqƒ‰ƒMƒmŠpƒS ProN W3", Meiryo, sans-serif;
  font-size: 1.4rem;
  color: #3d3536;
  background-color: white;
  line-height:1.4em;
}

a {
  color: #ffffff;
  text-decoration: none;
}
a:visited {
  color: #ffffff;
  text-decoration: none;
}
a:hover{
  //color: #a0a0a0;
  color: #ffffff;
  text-decoration: none;
}

a:active{
  //color: #a0a0a0;
  color: #ffffff;
  text-decoration: none;
}

.sidemenu1 {
	width:20%;
	height:40px;
	border:2px #444 solid;
	padding:8px 16px 8px 16px;
	background-color:#ccc;
}
.sidemenu2 {
	width:20%;
	height:40px;
	border:2px #444 solid;
	padding:8px 16px 8px 16px;
	background-color:#eee;
}

.btnS {
    font-family: "Mplus 1p";
    text-decoration: none;
    font-weight: normal;
    text-align: center;
    font-size: 0.7vw;
    background-color:#000;
    border: 1px solid #000;
    color:#fff;
    padding: 2px 6px 2px 6px;
}
.btnS2 {
    text-decoration: none;
    font-weight: normal;
    text-align: center;
    font-size: 0.7vw;
	background-color:#000;
	border: 1px solid #fff;
	color:#fff;
	padding: 5px 16px 5px 16px;
}
.btnR {
    text-decoration: none;
    font-weight: normal;
    text-align: center;
    font-size: 12px;
    //display: block;
	background-color:#fff;
	border: 1px solid #ffa000;
	color:#ffa000;
	padding: 2px 8px 2px 8px;
	border-radius: 8px;
	-webkit-border-radius: 8px;	/* Safari,Google Chromeç”¨ */  
	-moz-border-radius: 8px;		/* Firefoxç”¨ */  
}
.btnR2 {
    text-decoration: none;
    font-weight: normal;
    text-align: center;
    font-size: 14px;
    background-color:#fff;
    border: 1px solid #888;
    color:#888;
    padding: 8px 8px 8px 8px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}
.btnR3 {
    text-decoration: none;
    font-weight: normal;
    text-align: center;
    font-size: 14px;
    background-color:#000;
    border: 1px solid #ccc;
    color:#fff;
    padding: 8px 24px 8px 24px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
}

/* -------------------------------- 

Resource style 

-------------------------------- */

.bg-slider {
	//position: fixed;
	//top: 0;
	//left: 0;
	width: 100vw;
	height: 43vh;
	background-repeat: no-repeat;
	background-size: cover;
  	//z-index: -1;
}

/*
.bg-slider__title{
	color: #fff;
	font-size: 48px;
	line-height: 1.5;
	font-weight: bold;
	text-align:center;
	text-shadow: 1px 1px 1px #000;
}
*/

.fade_object{
	overflow: hidden;
	transition: 1.5s;
	opacity: 0;
}
.fadein{
	opacity: 1.0;
}

.fade_move_object{
	overflow: hidden;
	transition: 1.5s;
	opacity: 0;
	transform: translate(0,60px); 
	-webkit-transform: translate(0,60px); 
}
.move_fadein{
	opacity: 1.0;
	transform: translate(0,0); 
	-webkit-transform: translate(0,0);
}

.tel{
    font-size:5.4vw;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: bold;
    padding-left: 8px;
    vertical-align: -0.5px;
}

.logo_layer {
  position: fixed;
  top: 0;
  left: 78vw;
  z-index: -1;
}
.dark_back {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color:rgba(0,0,0,0.3);
  z-index: -1;
}

.slide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url("../img/top01.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
/*
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -1;
*/
}
/*
.slide:not(:first-child) {
  display: none;
}
*/
.amiami {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}  
.charity {
  position: fixed;
  top: 93vh;
  left: 76vw;
  width: 24vw;
  height: 7vh;
  background: #000000;
  color:#ffffff;
  font-size:1.2vw;
  padding:1.5vw 0 1.5vw 2vw;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.login_window {
  position: fixed;
  top: 0;
  left: 0;
  width: 24vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  color:#ffffff;
  padding:2vw;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.cd-main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  //background: rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.cd-main-header:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}

.cd-main-header__logo {
  float: left;
  margin: 13px 0 0 5%;
}

.cd-main-header__logo img {
  display: block;
}

@media only screen and (min-width: 768px) {
  .cd-main-header {
    height: 70px;
  }
  .cd-main-header__logo {
    margin: 23px 0 0 5%;
  }
}

.cd-main-nav {
/*
  float: right;
  margin-right: 5%;
*/
  text-align: right;
  margin-right: 3vw;
  width: 44px;
  height: 100%;
  background: url("../img/cd-icon-menu.svg") no-repeat center center;
  background-size: 44px 44px;
  cursor: pointer;
}

.cd-main-nav__list {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}

.cd-main-nav__list.cd-main-nav__list--is-visible {
  -webkit-transform: translateY(50px);
      -ms-transform: translateY(50px);
          transform: translateY(50px);
}

.cd-main-nav__list a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: #2f292a;
  border-top: 1px solid #453c3d;
//  color: #8e7d7f;
  color: #ffffff;
}

@media only screen and (min-width: 768px) {
  .cd-main-nav {
    /* reset style */
    width: auto;
    height: auto;
    background: none;
    cursor: auto;
  }
  .cd-main-nav__list {
    /* reset style */
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
    line-height: 70px;
  }
  .cd-main-nav__list.cd-main-nav__list--is-visible {
    /* reset style */
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .cd-main-nav__list li {
    display: inline-block;
    margin-left: .5em;
  }
  .cd-main-nav__list a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
    padding: .6em 1em;
    border-top: none;
//    color: #3d3536;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.2rem;
  }
  .cd-main-nav__list a:hover {
    color: #99a478;
  }
}

.cd-fixed-bg {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}

.cd-fixed-bg__content, .cd-fixed-bg h2 {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  width: 90%;
  max-width: 1170px;
  margin: 0 auto;
  text-align: center;
  font-size: 3rem;
}

.cd-fixed-bg h1, .cd-fixed-bg h2 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
}

.cd-fixed-bg.cd-fixed-bg--1 {
  background-image: url("../img/top01.jpg");
}

.cd-fixed-bg.cd-fixed-bg--2 {
  background-image: url("../img/top01.jpg");
}

.cd-fixed-bg.cd-fixed-bg--3 {
  background-image: url("../img/top01.jpg");
}

.cd-fixed-bg.cd-fixed-bg--4 {
  background-image: url("../img/top01.jpg");
}

@media only screen and (min-width: 768px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 3.6rem;
  }
}

@media only screen and (min-width: 1170px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 4.8rem;
    font-weight: 300;
  }
  @supports (background-attachment: fixed) {
    /* fix bug on IE11 and below */
    .cd-fixed-bg {
      background-attachment: fixed;
    }
  }
}

.cd-scrolling-bg {
  position: relative;
  min-height: 100%;
  padding: 4em 0;
  line-height: 1.6;
  -webkit-box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
          box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.cd-scrolling-bg.cd-scrolling-bg--color-1 {
  background-color: #3d3536;
  color: #a6989a;
}

.cd-scrolling-bg.cd-scrolling-bg--color-2 {
  background-color: #99a478;
  color: #3d3536;
}

.cd-scrolling-bg.cd-scrolling-bg--color-3 {
  background-color: #b4d7a8;
  color: #3d3536;
}

.cd-scrolling-bg__content {
  width: 90%;
  max-width: 768px;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .cd-scrolling-bg {
    padding: 8em 0;
    font-size: 2rem;
    line-height: 2;
    font-weight: 300;
  }
}
