.button {
	display: inline-block;
	width: 200px;
	height: 54px;
	text-align: center;
	text-decoration: none;
	line-height: 54px;
	outline: none;
}
.button::before,
.button::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.button,
.button::before,
.button::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
/**/
.button {
	position: relative;
	-webkit-perspective: 300px;
	perspective: 300px;
}
.button span {
	display: block;
	position: absolute;
	width: 200px;
	height: 60px;
	border: 2px solid #333;
	text-align: center;
	line-height: 56px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
	pointer-events: none;
}
.button span:nth-child(1) {
	background-color: #333;
	color: #fff;
	-webkit-transform: rotateX(90deg);
	-moz-transform: rotateX(90deg);
	transform: rotateX(90deg);
	-webkit-transform-origin: 50% 50% -30px;
	-moz-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
.button span:nth-child(2) {
	background-color: #fff;
	color: #333;
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
	-webkit-transform-origin: 50% 50% -30px;
	-moz-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
.button:hover span:nth-child(1) {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
}
.button:hover span:nth-child(2) {
	background-color: #333;
	-webkit-transform: rotateX(-90deg);
	-moz-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
}




/*-----------------------------------------*/

.button2 {
	display: inline-block;
	width: 240px;
	height: 54px;
	text-align: center;
	text-decoration: none;
	line-height: 54px;
	outline: none;
}
.button2::before,
.button2::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.button2,
.button2::before,
.button2::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
/**/

.button2 {
	position: relative;
	z-index: 2;
	border: 2px solid #ffd700;
	border-radius: 10px;
	background: #fff;
	color: #fff;
	line-height: 50px;
	-webkit-perspective: 300px;
	perspective: 300px;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}
.button2:hover {
	color: #333;
}
.button2::after {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #ffd700;
		border-radius: 10px;
	-webkit-transform-origin: center bottom;
	transform-origin: center bottom;
	-webkit-transform: rotateX(0);
	transform: rotateX(0);
}
.button2:hover::after {
	-webkit-transform: rotateX(-180deg);
	transform: rotateX(-180deg);
}


/*-----------------------------------------*/
.button3 {
	display: inline-block;
	width: 70px;
	height: 150px;
	text-align: center;
	text-decoration: none;

	line-height: 64px;
	outline: none;
}
.button3::before,
.button3::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.button3,
.button3::before,
.button3::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
/**/
.button3 {
	position: relative;
	-webkit-perspective: 300px;
	perspective: 300px;
}
.button3 span {
	display: block;
	position: absolute;
	width: 70px;
	height: 65px;
	border: 0px solid #fff;
	text-align: center;
        letter-spacing: 2px;

/*	line-height: 56px;*/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
	pointer-events: none;
}
.button3 span:nth-child(1) {
	background-color: #333;
	color: #fff;
	-webkit-transform: rotateX(90deg);
	-moz-transform: rotateX(90deg);
	transform: rotateX(90deg);
	-webkit-transform-origin: 50% 50% -30px;
	-moz-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
.button3 span:nth-child(2) {
	background-color: #fafafa;
	color: #333;
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
	-webkit-transform-origin: 50% 50% -30px;
	-moz-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
.button3:hover span:nth-child(1) {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
}
.button3:hover span:nth-child(2) {
	background-color: #333;
	-webkit-transform: rotateX(-90deg);
	-moz-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
}


/*-----------------------------------------*/
.button5 {
        z-index: 1;
	display: inline-block;
	width: 270px;
/*---------ここの数値を大きくするとロゴの下にスペースができる------*/
	height: 60px;
	text-align: center;
	text-decoration: none;
/*	background-color: #fafafa;*/
	background-color: rgba(0,0,0,0.0);
	line-height: 55px;
	outline: none;
}
.button5::before,
.button5::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.button5,
.button5::before,
.button5::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
/**/
.button5 {
	position: relative;
	-webkit-perspective: 300px;
	perspective: 300px;
}
.button5 span {
	display: block;
	position: absolute;
	background-color: #fafafa;
	width: 240px;
	height: 60px;
	border: 0px solid #fff;
	text-align: center;
        letter-spacing: 2px;
        font-size: 16px;

/*	line-height: 56px;*/
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
	pointer-events: none;
}
.button5 span:nth-child(1) {
/*	background-color: #fafafa;*/
	background-color: rgba(0,0,0,0.0);
	color: #333;
	-webkit-transform: rotateX(90deg);
	-moz-transform: rotateX(90deg);
	transform: rotateX(90deg);
	-webkit-transform-origin: 50% 50% -30px;
	-moz-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
.button5 span:nth-child(2) {
/*	background-color: #fafafa;*/
	background-color: rgba(0,0,0,0.0);
	color: #333;
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
	-webkit-transform-origin: 50% 50% -30px;
	-moz-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
.button5:hover span:nth-child(1) {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	transform: rotateX(0deg);
}
.button5:hover span:nth-child(2) {
	background-color: #888;
	-webkit-transform: rotateX(-90deg);
	-moz-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
}




/*---------SNSアイコン----------*/

.home-icon {
    color:#fff; 
  text-align:center;
}
/* svgのアイコンからmouse outで白に戻るとき0.3ｓ遅れて塗りを#fffにする。
pathに対してfillのため「a:hover」のみでは動作しない*/
.home-icon path  {
    fill:#6d8a85;
    -webkit-transition: fill 0.3s ease-out;
    -moz-transition: fill 0.3s ease-out;
    -o-transition: fill 0.3s ease-out;
    -ms-transition: fill 0.3s ease-out;
    transition: fill 0.3s ease-out;
}

/* svgのアイコンにhoverが当たったら 塗りを#2BBF82にする。*/
.home-icon a:hover path{
    fill:#b2d1cc;
}





/*---------Read More ボタン----------*/
  section.container{
/*    min-width: 500px;
    margin: 10% auto;
    text-align: center;*/
  }
/*    a:hover{border-bottom: 1px solid #111;} */
/*    h1{font-size: 2em; padding: 20px 0;}*/
    p{
/*      font-size: .75em;*/
/*      text-transform: uppercase;*/
/*      letter-spacing: 2px;*/
      padding: 20px 0;
    }

    button:hover{cursor: pointer}
    button {
/*      background: transparent; outline: none;*/
	background-color: #6d8a85;

	color: #fafafa;
      position: relative;
      border: 2px solid #111;
/*      padding: 15px 50px;*/
      width: 100%;
      padding: 15px 0px;

      overflow: hidden;
    }

    /*button:before (attr data-hover)*/
    button:hover:before{opacity: 1; transform: translate(0,0);}
    button:before{
      content: attr(data-hover);
      position: absolute;
/*      top: 1.1em; left: 0;*/
      top: 0em; left: 0;
      width: 100%;
/*      text-transform: uppercase;*/
	background-color: #fafafa;
      letter-spacing: 3px;
      font-weight: 800;
      font-size: 1.0em;
	color: #6d8a85;
      padding: 15px 50px 15px 50px;
      opacity: 0;
      transform: translate(-100%,0);
      transition: all .3s ease-in-out;
    }
      /*button div (button text before hover)*/
      button:hover div{opacity: 0; transform: translate(100%,0)}
      button div{
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 800;
        font-size: 1.0em;
        transition: all .3s ease-in-out;
      }







/*-----------ページトップへ--------------*/
#pagetop {
    position: fixed;
    z-index: 10;   
    bottom: 30px;
    right: 30px;
}
#pagetopsumaho {
    position: fixed;
    z-index: 10; 
    bottom: 30px;
    right: 10px;
}
#pagetopsumaho2 {
    position: fixed;
    z-index: 20; 
    bottom: 41px;
    right: 10px;
}
#pagetopsumaho3 {
    position: fixed;
    z-index: 20; 
    bottom: 110px;
    right: 10px;
}








/* 大枠ボックス */
.layer{
  /* 背景画像設定 
  background: url(https://homepagenopro.com/wp-content/uploads/2018/08/d11_img_beach.jpg) no-repeat 0 0;
  background-size: 100%;*/
  /* ボックス配置指定 */
  position: relative;
  margin: 0 auto;
  text-align: center;
  /* ボックスサイズ指定 */
  width: 70px;
  height: 70px;
}

/* 重ねるボックスの設定 */
.layer-in{
  /* ボックス配置指定 */
  position: absolute;
  bottom: 0px;
  right: 0px;
}

/* みずどりの基本設定 */
.layer-img{
  width: 70px;
  height: auto;
}