@charset "utf-8";
/* CSS Document */



.p-page-heading{
	padding: 5vw 15px 4vw;
}


@media screen and (max-width: 768px){
	.p-page-heading{
		padding-left: 5px;
		padding-right: 0px;
	}
}


.p-page-heading__title{
	text-align: center;
	font-size: 30px;
	font-weight: bold;
}

@media screen and (max-width:768px){
	.p-page-heading__title{
		font-size: 18px;
	}
}

.p-page-heading__title2{
	text-align: center;
	font-size: 40px;
	font-weight: bold;
	color: #028F61;
	
}

@media screen and (max-width: 768px){
	.p-page-heading__title2{
		font-size: 21px;
	}
}

.p-page-heading__description{
	text-align: center;
	margin-top: 10px;
	font-size: 20px;
	line-height: 1.6em;
}

@media screen and (max-width: 768px){
	.p-page-heading__description{
		text-align: center;
		font-size: 15px;
	}
}


html{
	height: 100%;
}

@media screen and (max-width: 768px){
	html{
		width: auto;
	}
}

body{
	max-width: none;
	min-width: auto;
	height: 100%;
	background-color: #F9F7EF;
	font-family: "游ゴシック","YuGothic","ヒラギノ角ゴ pro W3","Hiragino kaku Gothic Pro","メイリオ",Meiryo,"MS Pゴシック",sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #333333;
	background-color: cornflowerblue;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

@media screen and (max-width:768px){
	body{
		line-height: 1;
		background-size: 750px 310px;
		margin: 20px;
		background-position: top;
		background-repeat: no-repeat;
		background-attachment: fixed;
	}
}

.articlewrap{
		background-color: rgba(255,255,255,0.87);
	    margin: 0 auto;
		flex-basis: 100%;
		margin-bottom: 0;
		max-width: 768px;
		padding: 40px;
}

@media screen and (max-width: 768px){
	.articlewrap{
		padding: 30px;
	    margin: 0;
		
	}
}	
	
li{
	list-style: none;
	margin: 0;
	padding: 20px;
}


ul{
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
}




.clearfix:after{
	content: "";
	display: block;
	clear: both;
}

@media screen and (max-width: 768px){
	li:nth-child(n){
		margin: 0;
		padding-right: 50px;
	}
}

.border{
	line-height: 1.6em;
	position:relative;
	width: 350px;
	font-size: 18px;
	margin: 0 auto;
	text-align: center;
}

@media screen and (max-width: 768px){
	.border{
		font-size: 13px;
		width: auto;
	}
}


.border:before{
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	border-bottom: solid 2px green;
	animation: border_anim 5s linear forwards;
}

@keyframes border_anim{
	0%{
		width: 0%;
	}
	100%{
		width: 100%;
	}
}

/*** ボタンブロック ***/
.btn-rot{
  text-align: center;
  margin: 2rem;
  overflow: hidden; /*必須*/
}

/* ボタン（リンク）部分 */
.btn-rot p{
  text-decoration: none; /*下線削除*/
  display: inline-block;
  position: relative; /*疑似要素作成用*/
  padding: 4em 6em;
  margin: 2rem;
  color: #333333; /*文字色*/
  font-weight: bold; /*太字*/
  box-sizing: border-box;
}

/*ボタンの枠線*/
.btn-rot p:before{
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 100%;
  height: 100%;
  border: 3px solid #17AB4D;
  z-index: 0;
}

@media screen and (max-width: 768px){
	.btn-rot{
		margin: auto;
	}
}

@media screen and (max-width: 768px){
	.btn-rot p{
	   position: relative;
	   padding: 3.5em 2em;
	   margin: 0.1rem;
	   font-size: 12px;
	}
}



.container{
	width: 100%;
}

@media screen and (max-width: 768px){
	.container{
		width: 30%;
	}
}


.text{
	font-family: 'arial black';
	font-size: 60px;
	text-align: center;
	margin-left: 50%;
	transform: translateX(-200%);
	opacity: 0;
	animation: slide-in-anim 1.8s ease-out both;
}

@keyframes slide-in-anim {
	20% {
		opacity: 0;
	}
	60% {
		transform: translateX(-45%);
	}
	75% {
		transform: translateX(-52%);
	}
	100% {
		opacity: 1;
		transform: translateX(-50%);
	}
}

@media screen and (max-width: 768px){
	.text{
		font-size: 40px;
		text-align: center;
	}
}


.img_size_m{
	width: 450px;
	margin-left: 150px;
}

@media screen and (max-width: 768px){
	.img_size_m{
		width: 250px;
		margin-left: 20px;
	}
}

hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}

.footer {
  padding: 0rem;
  font-size: 15px;
  color: #999;
}


.footer__navi li {
  display: inline-block;
}

.footer__navi li:not(:last-child) {
  margin-right: 16px;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 0rem;
  position: absolute;
  top:243%; 
}

@media screen and (max-width: 1080px){
	.footer__logo{
	display: none;
	}
}

@media screen and (max-width: 1080px){
  .md-flex {
    display: flex;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .copyright {
    text-align: left;
  }
}
