@charset "utf-8";
/* CSS Document */
html{
	scroll-behavior: smooth;
}
body{
	font-family: Tahoma, Geneva, "sans-serif";
	background-color: #fff;

    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
	
	margin: 0;
}


@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

/*===header_top===*/
header.top-nav{
	width: 100%;
	height: 50px;
	background-color: rgba(56,161,219,0.60);
	margin: 0;
}
.logo img{
	margin-left: 10px;
}
.nav-bar{
	display: flex;
	justify-content:space-between;
}
#navlink1{
	list-style-type: none;
	overflow: hidden;
}
#navlink1 li{
	width: 100px;
	height: 40px;
	background-color: #38a1db;
	text-align: center;
	margin: 5px;
	padding: 5px;
	float: left;
	line-height: 15px;
	border-radius: 5px;
	letter-spacing: 0.06em;
	transition: .5s cubic-bezier(0.37, 0, 0.63, 1);
}
#navlink1 li:last-child{
	line-height: 30px;	
}
#navlink1 li a{
	color:#e6b422;
	text-decoration: none;
	font-weight: bold;
	text-align: center;
}
#navlink1 li:hover{
	background: #fff;
  letter-spacing: 0.15em;
}
main h1{
	color: #e6b422;
	margin-left: 10px;
}

/*====ウィンドウサイズ可変文字====*/
@media screen and (min-width: 480px) {
	/* スマホ */
	h1{
		font-size: 1.5rem; 
	}
	p {
		font-size: 1.4rem;
	}
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
	/* タブレット */
	h1{
		font-size: 3.5rem;
	}
	p {
		font-size: 1.5rem;
	}
}
@media screen and (min-width: 1024px) {
	/* PC */
	h1{
		font-size: 4.0rem;
	}
	p {
		font-size: 1.6rem;
	}
}






  
/*main設定*/
main{
	margin-top: 20px;
	margin-left: 50px;
	display: block;
	text-align: left;
	height: 100%;
}
main  figure img{
	width: 200px;
	margin-left: 50px;
	margin: 0;
}
main p{
	font-size: 1.0em;
	background-color:rgba(56,161,219,0.10);
	border-radius: 10px;
	width: 60%;
	background: linear-gradient(90deg, rgba(56,161,219,0.10), #fff);
	padding: 10px;
}
main h1{
	margin-top: 30px;
	margin-bottom: 0;
}

/*===可変設定===*/
@media screen and (max-width: 700px) {
	main figure img{
		width: 30%;
	}
	main p{
		width: 100%;
	}
}
@media screen and (max-width: 1024px) {
	main img{
		width: 50%;
	}
	main p{
		width: 100%;
	}
}


/*==footer==*/

.pagetop{
	text-align: right;
	margin-bottom: 50px;
}
.wrapper{
    min-height: 100vh;
    position: relative;/*←相対位置*/
	padding-bottom: 120px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}

footer{
	width: 100%;
    bottom: 0; /*下に固定*/
	height: 30px;
	background-color: #38a1db;
	text-align: center;
	position: fixed;
}
footer p small{
	color: #e6b422;
	line-height:30px;
	
}
/***追従するトップへ戻るボタン***/
#pagetop {
    position: fixed;
    right: 0;
    bottom: 0;
    text-indent: -9999px;
    margin: 0;
}
#pagetop a {
    position: relative;
    display: block;
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,1);
    transition: opacity .6s ease;
	border-radius: 10px;

}
#pagetop a:hover {
    opacity: .3;
}
#pagetop a::before {
    position: absolute;
    top: 7px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 14px;
    height: 14px;
    margin: auto;
    content: '';
    transform: rotate(-45deg);
    border-top: 1px solid #FFF;
    border-right: 1px solid #FFF;
}
@media screen and (max-width:767px) {
#pagetop a {
    width: 45px;
    height: 45px;
}
#pagetop a:before {
    top: 5px;
    width: 10px;
    height: 10px;
}
}


/***トップへ戻るボタンここまで***/



