@charset "Shift_JIS";

/* *******************　全体設定　******************* */
* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: white;
  overflow-x: hidden;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 100%;
}

body:before{
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background:url(../img/top/bg_ink.png) center no-repeat;
  background-color: #777;
  background-size:cover;
  animation: shirokuro 0.5s 2.8s;
  animation-fill-mode: forwards;
}


@keyframes shirokuro {
  0% { background-color: #444; }
  100% { background-color: #2cc3ce; }
}

.SP { display:none; }

@media screen and (max-width: 959px) {
	/* 959px以下に適用されるCSS（タブレット用） */
}

@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */
  .PC { display: none; }
  .SP { display: inline-block; }
}

a { outline: none; }
a:focus, *:focus { outline:none; }

.textimg {
  display: block;
  margin: auto;
  padding-top: 150px;
  height: 70px;
}

.video{
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 0;
  margin: 0;
}
.video iframe{
  position: relative;
  top: 0;
  margin: 80px auto;
  width: 560px;
  height: 315px;
}

@media screen and (max-width: 800px) {
	/* 959px以下に適用されるCSS（タブレット用） */
  .video{
    position: relative;
    padding-top: calc(9 / 16 * 100%);
    margin: 0 0 150px;
  }
  .video iframe{
    position: absolute;
    top: 100px;
    margin: 0;
    padding-bottom: 80px;
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 480px) {
  .textimg {
    width: auto;
    height: 35px;
  }
}
