@charset "utf-8";


.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2.5s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.loading__logo {
  opacity: 0;
  animation: logo_fade 2.5s 0.5s forwards;
  width: 375px;
}

@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  60% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
  }
}


body {
  margin: 0;
  padding: 0;
}

.hoge{
  width: 100%;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4em;
  background: #1b1b1b33;
}

.logotype {
  font-family: sans-serif;
  font-size: 24px;
  color: #ffffff;
}

nav {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 48em) {
  nav nav {
    display: inline;
  }
}

.menu__box {
  display: flex;
  flex-direction: row;
  list-style-type: none;
}
@media screen and (max-width: 48em) {
  .menu__box {
    flex-direction: column;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 15em;
    margin: -600px 0 0 0;
    padding: 0.6em 0;
    text-align: center;
    background-color: rgba(18, 6, 0, 0.828);
    box-shadow: 1px 0 6px #240e0139;
    z-index: 1;
    transition-duration: 0.5s;
  }
}

.red {
  color: #e08d3bf3;
}

.menu__item {
  display: flex;
  flex-direction: column;
  padding: 0 1em 0 1.9em;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}
@media screen and (max-width: 48em) {
  .menu__item {
    display: block;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 18px;
    transition-duration: 0.5s;
  }
  .menu__item:hover {
    background-color: rgba(102, 53, 0, 0.564);
  }
}

#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
  background: #e08d3bf3;
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
  background: #e08d3bf3;
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
  margin: 0;
}

.menu__btn {
  transition-duration: 0.25s;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  position: relative;
  bottom: 2px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 2;
}
.menu__btn span {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
}
.menu__btn span::before {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  content: "";
  top: -8px;
  transition-duration: 0.25s;
}
.menu__btn span::after {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  content: "";
  top: 8px;
  transition-duration: 0.25s;
}
@media screen and (min-width: 48em) {
  .menu__btn {
    display: none;
  }
}

body {
  font-family: serif;
  background-color: #000000;
  color: #fff;
}
body{
  height: 100%;
  width: 100%;
  background-image: url("./img/bask3.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin: 0px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

header {
  padding: 50px;
  margin: 0px;
}

@keyframes titleAnimation {
  0% {
    letter-spacing: .3em;
    opacity: 0;
  }
}

header h1 {
  font-size: 35px;
  font-weight: bold;
  margin-bottom: 50px;
  white-space: nowrap;
  animation: titleAnimation 1.5s;
  text-align: left;
}

main {
  max-width: 375px;
  width: 100%;
  margin: 50px auto;
}

.contents li {
  position: relative;
  /* opacity: 0;
  transform: translateY(50px);
  transition: 1s; */
}
  
/* .contents li.show {
  opacity: 1;
  transform: none;
} */

.contents li.show h2,
.contents li.show p,
main .contents li.show img {
  transform: none;
  opacity: 1;
}

.contents li:not(:first-of-type) {
  margin-top: 200px;
}
  
.contents li:nth-of-type(odd) .contentsText {
  right: 0;
}

.contents li:nth-of-type(even) .contentsText {
  align-items: flex-start;
}

.contents li:nth-of-type(odd) img {
  transform: translate(-20px, 20px);
}
.contents li:nth-of-type(even) img {
  margin-left: auto;
  transform: translate(20px, 20px);
}


.contentsText {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: absolute;
  top: 150px;
}

.contents h2 {
  font-size:30px;
  font-weight: bold;
  white-space: nowrap;

  padding: 10px 20px;
  line-height: 1.4;
  letter-spacing: .05em;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(20px);
  transition: 1s;
}
  
.contents p {
  line-height: 1.6;
  background-color: #3b3b3b7b;
  font-size: 15px;
  max-width: 375px;
  padding: 15px;
  margin-top: 30px;
  border-radius: 5px;
  opacity: 0;
  transform: translateX(20px);
  transition: 1s;
}

.contents img {
  width: 60%;
  display: block;
  border-radius: 20px;
  opacity: 0;
  transform: translateX(-20px);
  transition: 1s .5s;
}
li{
  list-style: none;
}





/*スクロールリンクの形状*/
.scroll-top {
  /*表示位置*/
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  visibility: hidden; 
  transition: opacity .5s, visibility .5s; /*それぞれに0.5秒の変化のアニメーション*/
  /*縦書き*/
  -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  /*改行禁止*/
    white-space: nowrap;
  /*矢印の動き*/
  animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove{
      0%{bottom:20px;}
      50%{bottom:25px;}
     100%{bottom:20px;}
 }


/*.scroll-viewクラスがついたら出現*/
.scroll-top.scroll-view {
  opacity: 1;
  visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
  text-decoration: none;
  color: #666;
  text-transform: uppercase;
  font-size:0.9rem;
    display: block;
}

/*スクロールリンクの形状*/

.js-scroll a::after{
  content:"";
  position: absolute;
  top:0;
  right:0;
  width:1px;
  height: 50px;
  background:#666;
}

.js-scroll a::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(-31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-scroll a::before{
  right:-11px;
}

/*ページトップリンクの形状*/

.js-pagetop a::after{
  content:"";
  position: absolute;
  top:0;
  right:0;
  width:1px;
  height: 50px;
  background:#666;
}

.js-pagetop a::before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(31deg);
}

/*Edge IE11 hack*/
_:-ms-lang(x), .js-pagetop a::before{
  right:0;
}

/*========= レイアウトのためのCSS ===============*/

h1{
  font-size:1.2rem;
}

h2{
  font-size:1.2rem;
  text-align: center;
  margin: 0 0 30px 0;
}

p{
  margin-top:20px;  
}

small{
  color:#fff;
  display: block;
  text-align: center;
}

#header{
  background:#33333300;
  color:#fff;
  text-align: center;
  padding: 20px;
}

section{
  padding:100px 30px;
}


section:nth-child(1){
  min-height: 100vh;  
}

section:nth-child(2n){
  background:#f3f3f3; 
}

#footer{

  position: relative;
  z-index: 2;
  padding:100px 20px;

}






/*==================================================
ニュースティッカーのためのcss
===================================*/
/*ニュース1行の周りの余白*/
.slider a{
  display: block;
  background:rgba(47, 47, 47, 0.515);
  padding:20px;
}

/*日付*/
.slider span {
  display:inline-block;
  font-size:0.8rem;
  margin-right:10px;
  color:#848484;
}

/*768px以下の見た目　※1行のままにしたい場合は不要*/
@media screen and (max-width:768px) {
  .slider {
      padding:20px;
      background:#383838a4;
  }

  .slider li {
      border-bottom:1px dashed #ffa600d3;
  }

  .slider li:last-child {
      border-bottom:none;
  }
  .slider span {
      display:block;
  padding-bottom:10px;
  }
}

/*========= レイアウトのためのCSS ===============*/



li {
  list-style-type:none;
}

.wrapper {
  width:90%;
  margin:0 auto;
}

h5 {
  text-align:center;
  padding:20px;
font-size: 1.2rem;
color: rgb(226, 226, 226);
}

a {
  color:#c9c9c9;
  text-decoration:none;
}




/* SNSボタン全体 */
.sns-button {
  margin: 3px;
  padding: 0px;
  text-align: center;
  list-style: none;
  overflow: visible;
  padding: 0;
}

/* 各 SNS ボタンのボックス */
.sns-button li {
  display: inline-block; 
  margin: 7px;
  padding: 0px 0px;
  border-radius: 4px;
  width: 50px;
  height: 50px;
  line-height: 50px;
}
.sns-button li a::before {
  display: inline-block;
  font-family: FontAwesome;
  font-size: 30px;
  background-color: #000000a6;
  border-radius: 4px;
  transition: all .3s ease;
  text-align: center;
  height: 50px; 
  line-height: 50px; 
  width: 50px; 
  border-style: solid;
  border-width: 1px;
}



.sns-button li a[href*="twitter.com"]::before    { content: "\f099"; color: rgba(254, 254, 254, 0.916); }

.sns-button li a[href*="instagram.com"]::before  { content: "\f16d"; color: #fafafade; }
.sns-button li a[href*="facebook.com"]::before   { content: "\f09a"; color: #ffffffe6; }


.sns-button li a[href*="twitter.com"]:hover::before   { 
  background-color: #55aceea0; 
  color:#fff;
}

.sns-button li a[href*="instagram.com"]:hover::before {      
  background-color: rgba(187, 30, 127, 0.573);
  color:#fff;
}
.sns-button li a[href*="facebook.com"]:hover::before  {       
  background-color: #3b589886; 
  color:#fff;
}

.nanaka{
  width: 100%;
  
}