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

/*ここからサンプル画像用CSS*/
.imagesample{
	width: 440px;
	height: 170px;
	object-fit: cover;
}
/*ここまでサンプル画像用CSS*/

/*===============================
リセットCSS
===============================*/
*{
	margin:0;
	padding:0;
	list-style: none;
	text-decoration: none;
	box-sizing: border-box;
}
/* 以下はレイアウト調整用 */
body{
  vertical-align:middle; 
  padding: 50px 0;
  text-align: center;
	background-color: #fff5ee;
}
/*===============================
レイアウトの作成
===============================*/

.inner{
  max-width: 1200px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding: 0 20px;
}
.mainView{
	margin-bottom: 700px;
	width:500px;
	height:500px;
	background-color: pink;
	margin:0 auto;
}

.scrollDown{
  position: absolute;
  bottom: 80px;
  right: 50%;
  animation: scrollDown 1s ease-in-out infinite;
}
@keyframes scrollDown{
  0% {bottom: 10%}
  50% {bottom: 15%}
  100% {bottom: 10%}
}
.scrollDown span{
  position: absolute;
  left: -25px;
  bottom: 10px;
  font-size: 0.8em;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
}
.scrollDown::before{
  position: absolute;
  content: "";
  width: 1px;
  height: 20px;
  background-color: lightcoral;
  bottom: 0;
  right: -6px;
  transform: skew(-30deg);
}
.scrollDown::after{
  position: absolute;
  content: "";
  width: 1px;
  height: 60px;
  background-color: lightcoral;
  bottom: 0;
  right: 0;
}
.boxes{
  display: grid;/* ------グリッドレイアウト------ */
  grid-template-columns: repeat(2,600px);/* ------横幅600px*2を繰り返す------ */
  rid-template-rows: repeat(2, 400px);/* ------縦幅400px*2を繰り返す------ */
  column-gap: 20px;/* ------横の空き------ */
  row-gap: 20px;/* ------縦の空き------ */
}


/* ------要素を非表示にする------ */
.box {
  aspect-ratio: 16 / 9;
  background-color: lightcoral;/* ------Boxの色------ */
  opacity: 0.2;
  visibility: hidden;
  transition: all 1s;
  transform: translateY(150px);
}

.box a{
	width:600px;
	height:400px;
	display: block;
}
.box:hover{
	opacity: 0.8;
}

/* ------表示用のクラス------ */

.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/*===============================
ボタン4CSS
===============================*/
.sample_btn4 {
  display: inline-block;
  width: 250px;
  text-align: center;
  text-decoration: none;
  line-height: 60px;
  outline: none;
  color: #fff;
  background-color: #000;
  -webkit-transition: all .3s;
  transition: all .3s;
  border-radius:15px;
  margin-top:50px;
}
.sample_btn4:hover {
  letter-spacing: 0.12em;
  text-indent: 0.12em;
}
/*===============================
フッター
===============================*/
footer{
	width:100%;
	height:50px;
	line-height: 50px;
	margin-top:100px;
	background-color: pink;
}
footer p a{
	text-align: center;
	color:#4b0082;
	display: block;
}
