@charset "utf-8";

/*==================================================
ヘッダーメニュー
====================================================*/

#header{
	position: fixed;/*header固定*/
	height: 100px;/*Headerの高さ設定*/
	width: 100%;
  z-index: 10;
	display: flex;
	justify-content: space-between;
	align-items: center;
  background: #fff;
  padding-left: 5%;
}
#header .logo {
  max-width: 300px;
}

.page-form #header, 
.page-thanks #header {
  justify-content: space-evenly;
}

@media screen and (max-width:990px) {
  #header {
    height: 75px;
  }  
}

#pc-nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
  text-transform: uppercase;
  margin: 0 0 0 5%;
}

#pc-nav li {
  flex-basis: auto;
  justify-content: center;
}

#pc-nav li a{
	display: block;
	text-decoration: none;
	color: #333;
	padding:0 15px;
	transition:all 0.3s;
}

#pc-nav li.current a,
#pc-nav li a:hover{
	color:#3950e5;	
}

/*==================================================
トップに戻るのボタン
====================================================*/
/*リンクの形状*/
#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	background:#20a4af;
	width: 60px;
	height: 50px;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #c7ced3;
}

#footer #page-top span{
  display: inline-block;
  width: 13px;
  height: 13px;
  border-top:2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(45deg);
}


/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 0;
  bottom:0;
  z-index: 2;
  opacity: 0;
  transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}

/*==================================================
トップの背景画像
====================================================*/

#top-main{
	width:100%;
	height: 100vh;
	position: relative;
} 

#top-main:before{
	content: '';
	position:fixed;
	top:10vh;
	left:5%;
	z-index:-1;
	width:90%;
	height: 80vh;
	/*背景画像設定*/
	background: url("../img/main.jpg") no-repeat 100% 0%;
	background-size: cover;
}

@media screen and (max-width:768px) {
  #top-main{
    height: 70vh;
  }
  #top-main:before{
    background-position: 70% 0%;
    background-size:auto 90%;
    height: 70vh;
  }
}

#container{
	position: relative;
	z-index:1;
	background:#fff;
  overflow-x: hidden;
}



/*==================================================
slick-slider
====================================================*/


.slider img {
  width: 100%;
  height: auto;
}

.slider .slick-slide {
  margin: 0 10px;
}


/* =======================================
  フッター
======================================== */

#footer{
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap:wrap;
  flex-direction: row-reverse;
}

.footer-r {
  width:50%;
  padding: 40px;
  background:#1D3961;
  color: #fff;
  text-align: center;
}

#footer .footer-r .map-area h2 {
  font-size: 1.3rem;
  letter-spacing: 0.3em;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}

.footer-r a { 
  color: #fff;
}


.footer-l{
  width:50%;
  background:#fff;
}

#footer .footer-l .footer-img{
  /* display: flex; */
  background:url("../img/aggie.jpeg") no-repeat center;
  background-size: cover;
  padding: 40px;
  height: 50%;
  min-height: 300px;
}

#footer .footer-l .iframe-area{
  padding: 0;
  height: 50%;
}

#footer .footer-l .iframe-area iframe{
  height: 100%;
}

#footer .about-list{
  width: 96%;
  margin: 0 auto;
  text-align: left;
}

#footer .about-list li{
  border-bottom: 1px solid #fff;
  margin:0 0 15px 0;
  padding: 0 0 15px 0;
}

#footer .about-list dl{
  display: flex;
  justify-content: space-between;
}

#footer .about-list dt{
  width:30%;
  padding: 0 0 0 40px;
}

#footer .about-list address {
  font-style: normal;
}

@media screen and (max-width:590px) {

  #footer .about-list dt{
    padding:0 0 0 10px; 
  }
}

#footer .about-list dd{
  width:65%;
}

#footer #copyright{
  background:#333333;
  color: #ccc;
  width: 100%;
  text-align: center;
  align-items: center;
  height: 5vh;
}


@media screen and (max-width:1045px) {

  #footer {
    display: block;
    background: #fff;
  }

  #footer .footer-r,
  #footer .footer-l {
    width: 100%;
  }

  #footer .footer-l .footer-img,
  #footer .footer-l .iframe-area {
    height: 300px;
  }

  .footer-r,
  .footer-img,
  .iframe-area {
    margin-bottom: 10px;
  }

  #footer .footer-l .footer-contact,
  #footer #copyright{
    height: inherit;
    padding: 40px 0;
  }
}

@media screen and (max-width:768px) {
  #footer {
    background: #fff;
  }

  #footer .footer-r{
    padding:80px 30px;
  }
  
  #footer .footer-r .map-area{
    margin: 0;
  }
  #footer .footer-link{
    display: none;
  }
  

  #footer #page-top{
    width:60px;
    height: 60px;
  }
}

/*================================================ 
ボタン
================================================ */
/*== ボタン共通設定 */
.btn{
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  border: 1px solid #f7ef0b;
  padding: 10px 30px;
  text-align: center;
  outline: none;
  background: #f7ef0b;
  /*アニメーションの指定*/   
  transition: ease .2s;
}

.btn:hover {
  border: 1px solid #ff6200;
  transition:.2s cubic-bezier(0.8, 0, 0.2, 1) 0s;
}

/*ボタン内spanの形状*/
.btn span {
  position: relative;
  z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
}

.btn:hover span{
  color:#fff;
}

/*== 背景が流れる（下から上） */
.bgbottom:before {
  content: '';
  /*絶対配置で位置を指定*/
  position: absolute;
  bottom:0;
  left: 0;
  z-index: 2;
  background:  #ff6200;
  Width: 100%;
  height: 0;
  transition:.2s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  opacity: 0.3;
}

/*hoverした際の形状*/
.bgbottom:hover:before{
  height: 100%;	
  border: 1px solid #ff6200;
}


.btn_entry {
  width: 50vw;
  max-width: 400px;
  padding: 1.5rem 0;
  font-size: 1.3rem;
  font-weight: 600;
}


.btn_hp {
  border: 1px solid #fff;
  background: transparent;
}

.btn_hp span {
  color: #fff;
}

.btn_hp:hover span {
  color: #1D3961;
}

.btn_hp:before {
  background: #1D3961;
}
.btn_hp:hover {
  border: 1px solid #fff;
}
.btn_hp:hover:before{
  height: 100%;	
  background-color: #fff;
  border: 1px solid #fff;
}
