@charset "UTF-8";

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #ffffff;
    font-size: 15px;
    line-height: 2;
    align-items: center;
    position: relative; /* 相対位置を指定 */
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 1;
    transition: background-image 3s ease-in-out;
}

.bg-layer {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

#bg1 {
  z-index: -2;
}
#bg2 {
  z-index: -3;
}


p,h1,h2,h3,h4,h5,h6 {
	margin-top: 0;
}

img {
    vertical-align: bottom;
    margin-left: 0px;
}

ul {
	margin: 0;
	padding: 0;
}

a {
	

	color: #ffffff;
	text-decoration: none;
}

a:visited {
	color: #808080;
}

a:hover {
  text-decoration: underline;
}

header {
    width: 960px;
	height: 100px;
	margin: 0 auto;
}

.logo {
	float: left;
	margin-top: 50px;
}

.global-nav {
	float: right;
	margin-top: 60px;
}

.global-nav li {
	float: left;
	margin: 0 10px;
	font-size: 15px;
	list-style: none;
}

.global-nav li a {
	color: #ffffff;
}

.global-nav li a:hover {
	border-bottom: 2px solid #ffffff;
	padding-bottom: 3px;
	text-decoration: none;
}

#wrap {
	clear: both;
	margin: 0 auto;
}

.content, .content2, .content3 {
	width: 960px;
	margin: 0 auto;
	align-content: center;
}

footer {
	text-align: center;
	color: #ffffff;
	padding: 20px 0;
}

footer small {
	font-size: 13px;
}

#index .content {
	margin-top: 70px;
}

#index h1 {
	font-size: 60px;
	line-height: 1.2;
	position: center;
	color:#ffffff;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	margin-bottom: 20px;
}

#index h2 {
	font-size: 45px;
	line-height: 1.2;
	color:#ffffff;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	margin-bottom: 10px;
}

#index h3 {
	font-size: 55px;
	line-height: 1.2;
	color:#ffffff;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	margin-bottom: 30px;
}

#index h4 {
	font-size: 30px;
	line-height: 1.2;
	color:#ffffff;
    font-family:YuGothic, 'Yu Gothic medium', 'Hiragino Sans', Meiryo, 'sans-serif';
	margin-bottom: 20px;
}

#index p {
	font-size: 20px;
	color: #ffffff;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}

.btn-container {
  display: flex;
  /* Safari 12 対策で gap は使わず margin で対応 */
}

/* 各ボタンに共通のスタイル（.btn1 a 〜 .btn6 a に共通） */
.btn1 a,
.btn2 a,
.btn3 a,
.btn4 a,
.btn5 a,
.btn6 a {
  color: #ffffff;
  font-size: 20px;
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  width: 300px;
  display: block;
  text-align: center;
  line-height: 50px;
  border-radius: 8px;
  border: 2px solid #ffffff;
  text-decoration: none;
  margin-bottom: 10px;
  /* ここに間隔を追加 */
  margin-right: 30px;
}

/* ボタンが横並びの時、最後のボタンだけ margin-right を無効化 */
.btn2 a,
.btn4 a,
.btn6 a {
  margin-right: 0;
}


.btn1 a:hover {
	text-decoration: none;
	background-color: #ffffff;
	color: #378acf;
}

.btn2 a:hover {
	text-decoration: none;
	background-color: #ffffff;
	color: #378acf;
}

.btn3 a:hover {
	text-decoration: none;
	background-color: #ffffff;
	color: #378acf;
}

.btn4 a:hover {
	text-decoration: none;
	background-color: #ffffff;
	color: #378acf;
}

.btn5 a:hover {
	text-decoration: none;
	background-color: #ffffff;
	color: #378acf;
}

.btn6 a:hover {
	text-decoration: none;
	background-color: #ffffff;
	color: #378acf;
}

 /* 動きのあるスクロールアイコン */
.container {
    position: relative;
    width: 24px;
    height: 24px;
    margin-top: -40px;
    margin-bottom: 80px;
    margin-left: 50px;
}

.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #ffffff;
}

.chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

.text {
  display: block;
  margin-top: 75px;
  margin-left: -30px;
  font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .25;
  animation: pulse 2s linear alternate infinite;
}

@keyframes pulse {
  to {
    opacity: 1;
  }
}
