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

.hero{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 50vh;
	min-height: 400px;
	background-image: url(../image/heroimage.jpg);
	background-position: center;
	background-size: cover;
}
.hero img{
	opacity: 0.9;	
}
.p1{
	font-size: 14px;
	text-align: center;
	line-height: 25px;
	padding-top: 30px;
}
.p2{
	font-size:  8px;
	text-align: center;
	line-height: 20px;
	padding-top: 20px;
	padding-bottom: 40px;
}
p{
	font-size: 8px;
	text-align: center;
	padding-bottom: 20px;
}

.listA .container{
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	margin-top: 0;
	margin-bottom: 60px;
	margin-left: auto;
	margin-right: auto;
}
.listA article{
	flex: 1 1 300px;
	display: flex;
}
.listA .box{
	flex: 1;
	margin: 10px;
	display: block;
	border: solid 1px #ddd;
	color: inherit;
	text-decoration: none;
}
.listA .photo{
	min-height: 150px;
	background-position: center;
	background-size: cover;
}
.listA .text{
	margin: 10px;
}
.listA h3{
	text-align: center;
	font-size: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}
.listA h5{
	text-align: center;
	font-size: 12px;
	color: #336;
}
.listA h5:hover{
	opacity: 0.7;
}
.listA a{
	text-decoration: none;
}
.listA p{
	font-size: 12px;
	opacity: 0.8;
	line-height: 3vh;
	margin-bottom: 0;
}

/*ここから続きを読むボタン開閉css*/
.grad-btn{
	display: inline-block;
	margin-top: 0;
	margin-left: 100px;
	padding: 5px 25px;
	border-radius: 5px;
	background-color: #999;
	color: #fff;
	font-size: 10px;
	text-align: center;
	text-decoration: none;
}
.grad-btn:hover{
	border: 1px solid #999;
	background-color: #fff;
	color: #999;
}
.grad-btn::before{
	content: "続きを読む"
}
.grad-item{
	position: relative;
	overflow: hidden;
	height: 10px;
}
.grad-item::before{
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
	background: linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.9) 50%, #fff 100%);
	content: "";
}
.grad-item p{
	text-align: left;
	margin: 12px 15px;
}
.grad-trigger{
	display: none;
}
.grad-trigger:checked ~ .grad-btn::before{
	content: "閉じる"
}
.grad-trigger:checked ~ .grad-item{
	height: auto;
}
.grad-trigger:checked ~ .grad-item::before{
	display: none;
}
/*ここまで続きを読むボタン開閉css*/

.menu{
	font-family: 'Anton', sans-serif;
	font-family: 'Teko', sans-serif;
	font-family: 'Lalezar', cursive;
	font-size: 12px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 50px;
	padding-bottom: 50px;
	padding-left: 100px;
}
/*ここからmenuのcategoryホバー記述 Scss構文をPreprosでcssに変換アレンジ*/
@-webkit-keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.category {
  flex: 0 0 106px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}

.button {
  border-radius: 30em;
  padding-top: 0.05em;
  padding-bottom: 0.05em;
  padding-left: 2em;
  padding-right: 2em;
  line-height: 1.5em;
  overflow: hidden;
  font-family: 'Anton', sans-serif;
  font-family: 'Teko', sans-serif;
  font-family: 'Lalezar', cursive;
  letter-spacing: 0.035em;
  text-decoration: none;
  -webkit-transition: 0.3s cubic-bezier(0.34, 0.01, 0.35, 0.98), opacity 0.5s;
  -o-transition: 0.3s cubic-bezier(0.34, 0.01, 0.35, 0.98), opacity 0.5s;
  transition: 0.3s cubic-bezier(0.34, 0.01, 0.35, 0.98), opacity 0.5s;
  flex: 1;
  position: relative;
  display: inline-block;
  -webkit-box-shadow: inset 0px 0px 0px 2px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0px 0px 0px 2px rgba(0, 0, 0, 0.3);
  color: black;
  font-size: 1.2em;
  overflow: hidden;
}

.button:before {
  -webkit-transition: 1.5s cubic-bezier(0.34, 0.01, 0.35, 0.98);
  -o-transition: 1.5s cubic-bezier(0.34, 0.01, 0.35, 0.98);
  transition: 1.5s cubic-bezier(0.34, 0.01, 0.35, 0.98);
  overflow: hidden;
  z-index: -1;
  opacity: 0;
  background: -webkit-gradient(linear, right top, left top, from(coral), color-stop(#fff446), to(#15f0e5));
  background: -webkit-linear-gradient(right, coral, #fff446, #15f0e5);
  background: -o-linear-gradient(right, coral, #fff446, #15f0e5);
  background: linear-gradient(270deg, coral, #fff446, #15f0e5);
  -webkit-animation: gradient-move 15s ease infinite;
  animation: gradient-move 15s ease infinite;
  background-size: 2000% 2000%;
  content: '';
  border-radius: 50em;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
}

.button:after {
  content: attr(data-title);
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
  -webkit-transform: translate3d(0, -250%, 0);
  transform: translate3d(0, -250%, 0);
  -webkit-transition: opacity 0.5s cubic-bezier(0.34, 0.01, 0.35, 0.98) 0.1s, -webkit-transform 0s 0.6s;
  transition: opacity 0.5s cubic-bezier(0.34, 0.01, 0.35, 0.98) 0.1s, -webkit-transform 0s 0.6s;
  -o-transition: opacity 0.5s cubic-bezier(0.34, 0.01, 0.35, 0.98) 0.1s, transform 0s 0.6s;
  transition: opacity 0.5s cubic-bezier(0.34, 0.01, 0.35, 0.98) 0.1s, transform 0s 0.6s;
  transition: opacity 0.5s cubic-bezier(0.34, 0.01, 0.35, 0.98) 0.1s, transform 0s 0.6s, -webkit-transform 0s 0.6s;
  opacity: 0;
  color: rgba(0, 0, 0, 0.4);
}

.button span {
  display: inline-block;
  -webkit-transition: opacity 1.5s cubic-bezier(0.34, 0.01, 0.35, 0.98) 0.5s;
  -o-transition: opacity 1.5s cubic-bezier(0.34, 0.01, 0.35, 0.98) 0.5s;
  transition: opacity 1.5s cubic-bezier(0.34, 0.01, 0.35, 0.98) 0.5s;
  opacity: 1;
}

.button:hover, .button:focus, .button:active {
  -webkit-box-shadow: inset 0px 0px 0px 2px rgba(0, 0, 0, 0);
  box-shadow: inset 0px 0px 0px 2px rgba(0, 0, 0, 0);
  color: rgba(0, 0, 0, 0.4);
}

.button:hover:before, .button:focus:before, .button:active:before {
  opacity: 1;
  -webkit-transition: 0.3s cubic-bezier(0.34, 0.01, 0.35, 0.98);
  -o-transition: 0.3s cubic-bezier(0.34, 0.01, 0.35, 0.98);
  transition: 0.3s cubic-bezier(0.34, 0.01, 0.35, 0.98);
}

.button:hover span, .button:focus span, .button:active span {
  -webkit-transform: translate3d(0, 150%, 0);
  transform: translate3d(0, 150%, 0);
  -webkit-transition: opacity 0s 0.5s, -webkit-transform 0.5s cubic-bezier(1, 0, 0, 1);
  transition: opacity 0s 0.5s, -webkit-transform 0.5s cubic-bezier(1, 0, 0, 1);
  -o-transition: transform 0.5s cubic-bezier(1, 0, 0, 1), opacity 0s 0.5s;
  transition: transform 0.5s cubic-bezier(1, 0, 0, 1), opacity 0s 0.5s;
  transition: transform 0.5s cubic-bezier(1, 0, 0, 1), opacity 0s 0.5s, -webkit-transform 0.5s cubic-bezier(1, 0, 0, 1);
  opacity: 0;
}

.button:hover:after, .button:focus:after, .button:active:after {
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(1, 0, 0, 1) 0.1s;
  transition: -webkit-transform 0.5s cubic-bezier(1, 0, 0, 1) 0.1s;
  -o-transition: transform 0.5s cubic-bezier(1, 0, 0, 1) 0.1s;
  transition: transform 0.5s cubic-bezier(1, 0, 0, 1) 0.1s;
  transition: transform 0.5s cubic-bezier(1, 0, 0, 1) 0.1s, -webkit-transform 0.5s cubic-bezier(1, 0, 0, 1) 0.1s;
  opacity: 1;
}
/*ここまでmenuのcategoryホバー記述 Scss構文をPreprosでcssに変換アレンジ*/
.p_top{
	margin: 0;
}
/*ここからトップに戻るcss*/
#page_top{
	width: 50px;
	height: 50px;
	position: fixed;
	bottom: 100px;
	right: 30px;
	background: #666;
	border-radius: 5px;
	opacity: 0.6;
}
#page_top a{
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	text-decoration: none;
}
#page_top a::before{
	font-family: "Font Awesome 5 Free";
	content: '\f077';
	font-weight: 900;
	font-size: 25px;
	color: #fff;
	position: absolute;
	width: 25px;
	height: 25px;
	top: 0;
	bottom: 0px;
	right: 0;
	left: 0;
	margin: auto;
	text-align: center;
}
/*ここまでトップに戻るcss*/

/*ここからScrollTriggerのCSS記述 GitHubの参考構文をデフォルトでそのまま使用*/
.invisible{
	transition: opacity 0.5s ease;
	opacity: 0.0;
}
.visible{
	transition: opacity 0.5s ease;
	opacity: 1.0;
}
/*ここまでScrollTriggerのCSS記述 GitHubの参考構文をデフォルトでそのまま使用*/
/*非表示(opacity:0;)だった要素がウィンドウ内に入ってから0.5秒かけて表示される の指示*/
