@charset "UTF-8";

@font-face {
    font-family:'マメロン';
    src:url(../font/Mamelon-3.5HiRegular.woff2)format('opentype');
  }
  
  html {
      box-sizing: border-box;
      scroll-behavior: smooth;
  }
  
  body {
      color: #383838;
      font-family: Futura, 'Century Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
      background:#E9E5E4;
      margin: 0;
  }
  
img {
	max-width:100%;
	height: auto;/*高さ自動*/
}

a {
    text-decoration-line: none;
}

span{
    display: inline-block;
}


/*ナビゲーション*/
.nav_mobile{
    display: none;
}

nav{
    font-weight: bold;
    position: fixed;
    width: 100%;
    padding-top: 1%;
    z-index: 20;
}
.navul{
    display: flex;
    list-style: none;
}
.navli{
    padding: 1% 2% 0 2%;
    font-size: larger;
}
.navli:first-child{
    margin-right: auto;
    padding-top: 0%;
    width: 170px;
}

.navli a{
    text-decoration: none;
    color: #577082;
}
.navli a:hover{
    transition: all .3s ease;
}
.navli a:after{
    border-bottom: solid 1px;
    color: #577082;
    content: "";
    display: block;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    width: 0;
}
.navli a:hover:after{
    width: 100%;
}
/**/

/* TOPスライド */

.logo_mobile{
    display: none;
}

.slider {
	width: 100vw;
	height: 80vh;
	overflow: hidden;
	position: relative;
	max-width: 100%;
}
 
 .slider div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 10;
	opacity: 0;
	animation-name: slide-fade;
	animation-duration: 25s;
	animation-iteration-count: infinite;
}

@keyframes slide-fade {
	0%{
		opacity: 0;
	}
	20%{
		opacity: 1;
	}
	80%{
		opacity: 0;
	}
	100%{
		opacity: 0;
        z-index: 0;
	}
}
.slider div:first-of-type{
	background-image: url(../img/mainimg_1.png);
}
.slider div:nth-of-type(2){
	background-image: url(../img/mainimg_2.png);
	animation-delay: 5s;
}
.slider div:nth-of-type(3){
	background-image: url(../img/mainimg_3.png);
	animation-delay: 10s;
}
.slider div:nth-of-type(4){
	background-image: url(../img/Sprion_top.png);
	animation-delay: 15s;
}
.slider div:last-of-type{
	background-image: url(../img/Web_Slide5.png);
	animation-delay: 20s;
}
/* */


/*ABOUT
-------------------------------------*/
.about{
    padding: 13% 0 5% 0;
    text-align: center;
    font-family: 'マメロン';
    background-image: url(../img/about_image.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.about h2 {
    padding: 0% 20% 3% 20%;
    color: #2D6692;
    font-size: x-large;
    line-height: 170%;
    font-weight: lighter;
}
.about p {
    padding: 0 20% 3% 20%;
    line-height: 200%;
} 

.readmore a {
    font-family: Futura, 'Century Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    font-weight: bold;
    color: #577082;
    display:block;
}   
.readmore a:hover{
    opacity: 50%;
    transition: all .2s ease;
}

/*ITEM
-------------------------------------*/
.item{
    text-align: center;
    font-family: 'マメロン';
    padding: 5% 25% 5% 25%;
}
.item h2 {
    font-family: Futura, 'Century Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    line-height: 50%;
    font-weight: lighter;
    padding: 0 0 5% 0;
}
.item h2 img{
    width: 350px;
}
.item ul{
    list-style-type: none;
    margin: auto;
    display: block;
    padding: 0;
}
.item li{
    padding: 0 0 5% 0;
}
.item li a:hover{
    opacity: 50%;
    transition: all .2s ease;
}

/*お問い合わせ
-------------------------------------*/
.contact{
    text-align: center;
    font-family: 'マメロン';
    padding: 5% 25% 5% 25%;
}
.contact h2 {
    font-family: Futura, 'Century Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    line-height: 50%;
    padding: 0 0 4% 0;
    font-weight: lighter;
}
.contact h2 img{
    width: 350px;
}
.contact p{
    font-size: 90%;
    line-height: 200%;
    padding: 0 0 4% 0;
}

form{
    font-family: Futura, 'Century Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}
form dl{
    text-align: left;
    width: 100%;
    margin: auto;
}
form dt{
    font-weight: bolder;
}
form dd{
    padding: 0 0 5% 0;
    margin: 0;
}
form input{
    border: solid 1px #383838;
    height: 2em;
    width: 100%;
    padding-left: 5px;
}
form textarea{
    border: solid 1px #383838;
    width: 100%;
}
form ::placeholder{
    color: #577082a3;
    padding: 5px 0 5px 5px;
    font-weight: bolder;
}
.form_button .btn {
	display: block;
	text-align: center;
	text-decoration: none;
	width: 200px;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #383838;
	background:  #383838;
	color: #fff;
	border-radius: 100vh;
	transition: 0.5s;
}
.form_button .btn:hover {
	color:  #383838;
	background: #E9E5E4;;
}
.contact_p{
    padding: 3% 0 0 0 ;
    font-size: 90%;
}
/*リンク　コピーライト
-------------------------------------*/
footer{
    padding: 0 20% 0 20%;
}

.link ul{
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    font-weight: bold;
    padding: 0 20% 0 20%;
}
.link a{
    text-decoration: none;
    color: #577082;
}
.link a:hover{
    transition: all .3s ease;
    color: #577082;
}
.link a:after{
    border-bottom: solid 1px;
    color: #577082;
    content: "";
    display: block;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    width: 0;
}
.link a:hover:after{
    color: #577082;
    width: 100%;
}
.link a:visited{
    color: #577082;
}
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
    padding-top: 5%;
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){

    .about{
        padding: 15% 5% 10% 5%;
    }
    .about h2{
        padding: 0 0;
    }
    .about p{
        padding: 6% 0 6% 0;
    }
    .item{
        padding: 10% 5% 10% 5%;
    }
    .contact{
        padding: 10% 5% 10% 5%;
    }
    footer{
        padding: 0% 5% 0% 5%;
    }

    .logo_mobile{
        display: block;
        position: absolute;
        z-index: 11;
        width: 100%;
        height: 80vh;
        display: flex;
        justify-content: center;
        align-items: center
    }

    .about .readmore span{
        font-size: 80%;
    }

    .link ul{
        font-size: 90%;
        padding: 5px 10% 5px 10%;
    }

    /* メニュー
-------------------------------------*/
.nav_mobile{
    display: block;
    position: absolute;
    z-index: 12;
    width: 100%;
    position: fixed;
}
.nav_mobile2{
    width: 30px;
    height: 22px;
    margin: 20px 20px 0 auto;
}
.nav_PC{
    display: none;
}
.nav_mobile ul li{
    list-style: none;
    font-size: larger;
    font-weight: bold;
    color: #577082;
    padding: 50px 0 0 30px;
}
.nav_mobile a:visited{
    color: #577082;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
    display:none;
  }
  
  /*アイコンのスペース*/
  #nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    margin-right: auto;
    vertical-align: middle;
  }
  
  /*ハンバーガーの形をCSSで表現*/
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: #577082;
    display: block;
    content: '';
    cursor: pointer;
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }
  
  /*閉じる用の薄黒箇所*/
  #nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
  }
  
  /*メニューの中身*/
  #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 180px;/*最大幅（お好みで調整を）*/
    height: 100%;
    background: #E9E5E4;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
  }
  
  /*チェックがついたら表示させる*/
  #nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
  }
  
  #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
  }
  
  .header-logo-menu{
   display: flex;
   display: -moz-flex;
   display: -o-flex;
   display: -webkit-flex;
   display: -ms-flex;
   flex-direction: row;
   -moz-flex-direction: row;
   -o-flex-direction: row;
   -webkit-flex-direction: row;
   -ms-flex-direction: row;
  }
  

}