@charset "utf-8";
/* CSS Document */
header {
    width: 100%;
    padding: 30px 4% 10px;
    background-color: #fff;
    top: 0;
	display: flex;
    align-items: center;
}
 
a {	
   text-decoration: none;
   color: #4b4b4b;
}
 
.traning-a {
	color: rgba(255,0,4,1.00);
}
.area-all {
    background-color: #E4ECF3;/*背景色*/
}
 
/* top */
.kasaneru {
  position: relative;/*親要素にrelative*/
}
 
.kasaneru img {
  width: 100vw;
  height: 15vw;
  object-fit: cover;
}
.kasaneru h1 {
  position: absolute;/*重ねたい子要素にabsolute*/
  top:50%;
  left: 50%;
 -ms-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  -webkit-transform: translate(-50%,-50%);/*ベンダープレフィックス*/
  transform: translate(-50%,-50%);/*センター寄せの修正*/
  color: #fff;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  font-size: 2.5rem;
  margin: 0!important;/*文字がずれている場合や*/
  padding: 0!important;/*文字が折り返される場合*/
}
 
/* ボックスボーダー */
.area-1-text {
    position: relative;
	width: 70vw;
	margin: 0 auto;
    padding: 1em 1.5em;
    background-color: #E4ECF3;/*背景色*/
    color: #000000;/*文字色*/
    z-index: 0;
}
.area-1-text::before,
.area-1-text::after {
    position: absolute;
	margin: 10px;
    content: "";
    width: 70vw;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.area-1-text::before {
    background-color: rgba(255, 255, 255, 0.2);
    left: 0;
    top: 0;
    z-index: -1;
}
.area-1-text::after {
    background-color: rgba(243,236,226,1.00);/*ズレている方の背景色*/
    top: 5px;
    left: 5px;
    z-index: -2;
}
.area-1-text p {
    margin: 1em; 
    padding: 0;
}
/* ボックスボーダーここまで */
 
.area-2 {
	background: rgba(0,34,129,1.00);
	margin-top: 2em;
	overflow: hidden;
	padding-bottom: 2em;
}
 
.area-2-text {
	width: 70vw;
	margin: 0 auto;
	padding : 2em;
	color: aliceblue;
}
/* アニメーション */
.area-2-move {
	width: 70vw;
	margin: 0 auto;
	padding: 0.5em;
	position: relative;
	height: 130px;
}
 
.animation {
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 5s;
  width: 100px;
  position: absolute;
  left: 0;
  top: 0;
}
 
.keyframe1 {
  z-index: 5;
  animation-name: none;
}
.keyframe2 {
  z-index: 4;
  animation-name: anim_h;
}
.keyframe3 {
  z-index: 3;
  animation-name: anim_y;
}
 
@keyframes anim_h {
  0% {
    transform: translate(0px, 0);
  }
  100% {
    transform: translate(120px, 0);
  }
}
 
@keyframes anim_y {
  0% {
    transform: translate(0px, 0);
  }
  100% {
    transform: translate(240px, 0);
  }
}
/* アニメーションここまで*/
.area-3 {
	width: 70vw;
	padding: 2em;
	margin: 0 auto;
}
.area-3-move {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: center;
	align-items: flex-start;
}
.area-3-move iframe {
	width: 400px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}
.strong {
	font-size: 1.5rem;
background:linear-gradient(transparent 70%, #FFFF00 0%);}
.area-4 {
	background: rgba(0,34,129,1.00);
}
 
.area-4-text {
	width: 70vw;
	
}
/*トップへ戻るボタン*/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #3f98ef;
  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';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
 
/* */
@media screen and (max-width: 800px) {
.kasaneru img {
  width: 100vw;
  height: 30vw;
  object-fit: cover;
}
.area-1-text {
 width: 100vw;
    padding: 1em;
	}
.area-1-text::before,
.area-1-text::after {
    position: absolute;
	margin: 10px;
    content: "";
    width: 95vw;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.area-2-text {
	width: 95vw;
	margin: 0 auto;
	padding : 1em;
	color: aliceblue;
}
.area-2-move {
	width: 90vw;
	margin: 0 auto;
	padding: 0;
	position: relative;
	height: 90px;
	margin-bottom: 1em;
}
 
.animation {
	width: 60px;
}
 
@keyframes anim_h {
  0% {
    transform: translate(0px, 0);
  }
  100% {
    transform: translate(70px, 0);
  }
}
 
@keyframes anim_y {
  0% {
    transform: translate(0px, 0);
  }
  100% {
    transform: translate(140px, 0);
  }
}
.area-3 {
	width: 95vw;
	margin: 0 auto;
	padding: 1em;
	}
 
.area-3-move {
	flex-wrap: wrap;
	justify-content: center;
}
 
.area-3-move iframe {
	width: 100%;
	max-width: 95vw;
}
 
.syoseki {
	width: 200px;
	margin: 2em auto;
}
 
}