/*lightning新バージョン*/
/*メニューのお問合せボタン PC版　スマホ版はmycss.css*/
.gMenu .toiawase_btn a{
    border: 1px solid #1E73BE;/*#1E73BE*/
    background-color: #000;
    border-radius: 20px;
    padding: 0 15px;
    color: #FFF !important;
	  margin-left:0px;
	  height:40px !important;
	  line-height:0px;/*調整する*/
	  width:120px;/*調整する*/
	  margin-top:0px;
}
.gMenu .toiawase_btn a:hover{
    color: #D6B989 !important;
    border-bottom: 0px solid #FFF !important;
}
@media screen and (max-width: 1024px) {
.gMenu .toiawase_btn a {
    padding: 0 20px !important;
    color: #FFF !important;
    margin-left: 0px;
    height: 40px;
    line-height: 40px;
    width: 100px;
}
}

/*ヘッダーナビ最後のメニューだけ下線を引かない*/
.gMenu>li.toiawase_btn:before{
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    width: 0;
    border-bottom: 0px solid #FFF;
    transition: all .5s ease-out;
}

/*lightning旧バージョン*/
/*ヘッダーナビ最後のメニューだけ下線を引かない*/
.global-nav-list>li.toiawase_btn:before{
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    width: 0;
    border-bottom: 0px solid #FFF;
    transition: all .5s ease-out;
}

@media (min-width: 992px){
.header_scrolled.admin-bar .site-header {
    -webkit-animation: header_drop_admin .5s ease-out 0s 1 alternate none running;
    animation: header_drop_admin .5s ease-out 0s 1 alternate none running;
    /*height: 50px;*/
}
}


.button01 {
  display: inline-block;
  /*width: 200px;*/
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
  padding:0 20px;
}
.button01::before,
.button01::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button01,
.button01::before,
.button01::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}


.button01 {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border: 2px solid #333;
  color: #333;
  line-height: 50px;
  overflow: hidden;
}
.button01:hover {
  color: #fff;  
}
.button01::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transform: scale(.5);
  transform: scale(.5);
}
.button01:hover::after {
  background: #333;
  -webkit-transform: scale(1);
  transform: scale(1);
}


/*端丸ボタン*/
.button02 {
  display: inline-block;
  /*width: 200px;*/
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
  padding:0 20px;
}
.button02::before,
.button02::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button02,
.button02::before,
.button02::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.button02 {
  background-color: #71BDCD;
  border: 2px solid #71BDCD;
  color: #fff;
  line-height: 50px;
  border-radius:27px;
}
.button02:hover {
  background-color: #fff;
  border-color: #59b1eb;
  color: #59b1eb;
  text-decoration:none;
}

/*端丸ボタン2*/
.button03 {
  display: inline-block;
  width: 200px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
}
.button03::before,
.button03::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button03,
.button03::before,
.button03::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.button03:hover {
  background-color: #00BCD4;
  border: 2px solid #00BCD4;
  color: #fff;
  line-height: 50px;
  border-radius:7px;
}
.button03 {
  background-color: #fff;
  border: 2px solid #71BDCD;
  border-radius:27px;
  color: #333;
  text-decoration:none;
}

/*背景黒色ボタン*/
.btn-flat-simple_black:hover {
    background: #BDC0B7;
    color: #FFFFFF;
}
.btn-flat-simple_black {
    display: flex;/*ラベル中央ぞろえ*/
    justify-content: center;
    align-items: center;
    /*display: inline-block;*/
    font-weight: normal;
    padding: 1.1em 1em; 
    text-decoration: none;
    color: #FFFFFF;
    background: #000;
    transition: .4s;
    border-radius: 5px;
    width:100%;
    max-width:300px;
    height:50px;
    text-align:center;
    font-size:calc(1rem + 0.2vw);
    /*line-height:39px;*/
}


/*黒線交差*/
.btn-cross {
  display: inline-block;
  position: relative;
  padding: 0.25em 1em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  text-decoration: none;
  font-weight: normal;
  color: #000;
  /*width: 200px;*/
  /*height: 30px;*/
  font-size: calc(1rem + 0.5vw);
  padding: 12px 25px 17px;
}
.btn-cross:before, .btn-cross:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: black;
  transition: .3s;
}
.btn-cross:before {
  left: 7px;
}
.btn-cross:after {
  right: 7px;
}
.btn-cross:hover:before {
  top: 0px;
  left:0;
  height: 100%;
}
.btn-cross:hover:after {
  top: 0px;
  right: 0;
  height: 100%;
}


/*フラットボタンシンプル*/
.btn-flat-simple {
  position: relative;
  display: inline-block;
  font-weight: normal;
  padding: 0.5em 1.0em;
  text-decoration: none;
  background: #00bcd4;
  color: white;
  transition: .4s;
  font-size:24px;
  border-radius:10px;
}

.btn-flat-simple:hover {
  color: #00BCD4;
  background: #ECECEC;
}

/*矢印移動*/
a.button_y {
  display: block;
  margin:0 auto;
  text-decoration: none;
  border: none;
  outline: 0;
  cursor: pointer;
  color: #fff !important;
  background: #D35E92;
  font-weight: bold;
  position: relative;
  height: 3.0em;
  line-height: 3.0em;
  /*width: 100px;*/
  padding: 0 0.8em 0 1.2em;
  transition: 0.5s;
}
a.button_y::after{
  transition: 0.5s;
  content: "";
  width: .6em;
  height: .6em;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: -2px;
  bottom: 0;
  right: 12px;
  margin: auto;
  -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
a.button_y:hover::after{
  right: 6px;  
}
a.button_y:hover {
  background: #134767;
  color: #fff;
}

/*矢印移動ボタンsubmit*/
input[type="submit"]{
  font-size: 1.0em;
  display: block;
  border: none;
  outline: 0;
  cursor: pointer;
  color: #fff;
  background: #555;
  font-weight: bold;
  /*height: 2.3em;*/
  /*line-height: 3.0em;*/
  /*width: 100%;*/
  /*padding: 0 2.5em 0 0.8em;*/
  transition: 0.3s;
}
.button_wrap{
  color: #fff;
  position: relative;
  line-height: 2.8em;
  width: 130px;
  transition: 0.5s;
  margin:0 auto;
}
.button_wrap::after{
  transition: 0.3s;
  content: "";
  width: .6em;
  height: .6em;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.button_wrap:hover::after{
  right: 12px;
}
input[type="submit"]:hover {
  background: #134767;
}


/*キラリと光るボタン*/
.shiny-btn2 {
    display: block;
    position: relative;
    width: 80%;/*ボタンの幅*/
    padding: 10px 0;
    margin: 30px auto;
    background-color: #ed4545;/*ボタンの色*/
    box-shadow: 0 3px 0 0 rgba(198, 39, 39, 1);/*影の色(rgbaの値を変更)*/
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
}
.shiny-btn2:hover {
    text-decoration: none;
    color: #fff;
    box-shadow: none;
    -webkit-transform: translateY(3px);
}
.shiny-btn2::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    transition: 0.2s;
    animation: shiny-btn2 3s ease-in-out infinite;
}
@-webkit-keyframes shiny-btn2 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}


/***キラリと光るボタンの設定***/
.shiny-btn1 {
display: block;
position: relative;
width: 95%;/*ボタンの幅*/
padding: 8px 10px;
margin:30px auto;
background-color:#AEC4E5;/*ボタンの色*/
color: #fff;/*文字の色*/
border-radius: 30px;
font-weight: normal;
font-size: 1em;
text-align: center;
text-decoration: none;
overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*光らせる*/
.shiny-btn1::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: #fff;
    animation: shiny-btn1 3s ease-in-out infinite;
}
@-webkit-keyframes shiny-btn1 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}


/*ホバー時にキラリと光るボタン*/
.shiny-btn1:hover {
text-decoration: none;
color:#AEC4E5;/*文字の色*/
background:transparent;/*ボタンの色を透明に*/
border:1px solid #AEC4E5;/*枠線*/
}


.shiny-btn3 {
    display : inline-block;
    background-image: -webkit-linear-gradient(
      #936A00 0, #BF9427 95%, #936A00 100%
    );
    background-image: linear-gradient(
      #936A00 0, #BF9427 95%, #936A00 100%
    );
    color: #FFFBD5; 
    width: 300px;
    line-height: 66px;
    text-align: center;
    font-size: 28px;
    border-radius: 10px;
    box-shadow: 0 -2px 0 #BF9427;
    font-weight: bold;
    position: relative;
    overflow: hidden;/*ボタンからはみ出る部分を隠します*/
}
.shiny-btn3:before {
    content: "";
    background-image: -webkit-linear-gradient(
      130deg,
      rgba(255,255,255,0) 20%, 
      rgba(255,255,255,0.5) 50%, /*透明度を調整して光沢を作ります*/
      rgba(255,255,255,0) 80%
    );
    background-image: linear-gradient(
      130deg,
      rgba(255,255,255,0) 20%,
      rgba(255,255,255,0.5) 50%,
      rgba(255,255,255,0) 80%
    );
    width: 200%;
    height: 200%;
    position: absolute; /*ボタンの左上方向にはみ出させて配置*/
    top: -100%; 
    left: -200%;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.shiny-btn3:hover:before {
  top: 0%; /*ボタンの右下方向へ移動させます*/
  left: 100%;
}

/*btn_basic 基本 */
.btn_basic,
a.btn_basic,
button.btn_basic {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

/*フラットボタン塗りつぶし斜め移動 btn_basicと併用*/
a.btn-flat {
  overflow: hidden;
  padding: 1.5rem 1.5rem !important;/*文字の長さによって調整*/
  color: #fff;
  border-radius: 0;
  background: #ff4500;
  font-size:calc(1.1rem + 0.2vw);
}

a.btn-flat span {
  position: relative;
}

a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 150%;
  height: 500%;
  content: '';
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  -webkit-transform: translateX(-97%) translateY(-70%) rotate(135deg);
  transform: translateX(-97%) translateY(-70%) rotate(135deg);
  background: #fff100;
}

a.btn-flat:hover:before {
  -webkit-transform: translateX(5%) translateY(-25%) rotate(135deg);
  transform: translateX(5%) translateY(-25%) rotate(135deg);
}

