@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  color: #050507;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 300;
}

a {
  color: #fff;
  text-decoration: none;
}

img {
  width: 100%;
  vertical-align: bottom;
}

li {
  list-style: none;
}

.site-title {
  font-size: 6.25rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  margin: 100px 0;
}

.section-title {
  border-bottom: solid 1px #fff;
  /* borderをテキスト幅に合わせる */
  display: inline-block;
  font-size: 3.75rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 45px;
}

.wrapper {
  max-width: 800px;  
  padding: 0 30px;
  margin: 0 auto;
}

.container {
  background: #050507;
  color: #fff;
  text-align: center;
}

#side-btn {
  border: solid 1px #fff;
  position: fixed;
  right: -144px;
  bottom: 200px;
  transform: rotate(-90deg) translateY(60px);
  /* #side-btn の表示と非表示 0.6s;*/
  transition: 0.6s;
  z-index: 30;
}

#side-btn a {
  display: inline-block;
  width: 165px;
  font-size: 0.875rem;
  letter-spacing: 0.1rem;
  padding: 15px 0;
  transition: 0.3s;
}

#side-btn a:last-of-type {
  border-left: solid 1px #fff;
}

#side-btn a:hover {
  opacity: 0.7;
}



.bg {
  background: url("../img/cs_fa_exhibition_bg-pexels-lina-kivaka-1813499.jpg") center/100% no-repeat !important;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  z-index: 10;
}

.fadein {
  opacity: 0;
  /* (x軸, y軸); */
  transform: translate(0, 50%);
  transition: 2s;
}

.fadein.show {
  transform: translate(0, 0);
  opacity: 1;
}

/* --#header----------------------------- */
.logo {
  line-height: 1px;
  position: fixed;
  top: 35px;
  left: 30px;
  z-index: 40;
  display: none;
  font-size: 1.35rem;
}

.logo a {
  display: block;
}

/* --ハンバーガーメニュー------------ */
.hamburger {
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 40;
  display: none;
}

.hamburger span {
  background-color: #fff;
  width: 30px;
  height: 1px;
  /* positionを指定すると同時にdisplay: block;にする */
  position: absolute;
  left: 6px;
  /* ゆっくり→早い→ゆっくり */
  transition: 0.5s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 11px;
}

.hamburger span:nth-child(2) {
  top: 21px;
}

.hamburger span:nth-child(3) {
  top: 31px;
}

.hamburger.active span:nth-child(1) {
  top: 21px;
  left: 6px;
  transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 21px;
  transform: rotate(45deg);
}

#navi {
  width: 100%;
  background-color: #fff;
  color: #050507;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  transform: translateY(-100%);
  transition: 0.6s;
  z-index: 30;
}

#navi ul {
  width: 100%;
  background-color: #050507;
  padding: 80px 0 30px 0;
}

#navi ul li {
  padding: 10px 0;
}

#navi ul li a {
  display: block;
}

#navi.active {
  transform: translateY(0%);
}

/* --#mainvisual------------------------ */
#mainvisual {
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

#mainvisual img {
  width: calc(100%/3);
  height: 100vh;
  /* flexboxを指定している時に縮小する割合を指定できる */
  /* 0の場合は縮小されない */
  flex-shrink: 0;
  /* 画像の縦横比を維持 はみ出た部分はトリミングされる */
  object-fit: cover;
}

/* --#information------------------------ */
#information {
  margin-bottom: 140px;
}

#information .info-date-en {
  display: block;
  font-size: 1.5rem;
}

#information .info-time-en {
  display: block;
  font-size: 1.125rem;
}

#information .info-plase {
  margin: 20px 0;
  font-size: 2.5rem;
  font-weight: 400;
}

#information .info-date-ja {
  font-size: 1.125rem;
}

/* --#gallery------------------------ */
#gallery {
  margin-bottom: 480px;
}

#gallery .list li {
  margin-bottom: 60px;
}

#gallery .list li img {
  width: 48%;
}

/* 奇数 */
#gallery .list li:nth-child(odd) {
  text-align: left;
}

/* 偶数 */
#gallery .list li:nth-child(even) {
  text-align: right;
}

/* --#access------------------------ */
#access {
  margin-bottom: 480px;
  /* 背景の上にコンテンツを配置 */
  /* position: relative; は z-index指定するために設定
  (デフォルトではz-index指定を指定できない) */
  position: relative;
  z-index: 20;
}

#access .place {
  margin-bottom: 20px;
  font-size: 1.75rem;
  font-weight: 400;
}

#access .address {
  margin-bottom: 20px;
}

#access .contact {
  margin-bottom: 30px;
}

#access .btn {
  border: solid 1px #fff;
  padding: 15px 82px;
  color: #fff;
  /* #access .contact の margin-bottomと被らないようにする */
  display: inline-block;
  transition: 0.3s;
}

#access .btn:hover {
  background-color: #050507;
}

/* --#contact------------------------ */
#contact {
  margin-bottom: 200px;
  /* position: relative; は z-index指定するために設定
  (デフォルトではz-index指定を指定できない) */
  position: relative;
  z-index: 20;
}

#contact .btn {
  display: block;
  border: solid 1px #7d7d7d;
  margin: 0 auto 20px auto;
  padding: 30px 0;
  width: 400px;
  color: #fff;
  position: relative;
  transition: 0.3s;
}

#contact .btn::before,
#contact .btn::after {
  content: "";
  position: absolute;
  right: -40px;
  height: 1px;
  background-color: #fff;
  transition: 0.3s;
}

#contact .btn::before {
  width: 120px;
  top: 48px;
}

#contact .btn::after {
  width: 15px;
  top: 45px;
  transform: rotate(25deg);
}

#contact .btn:hover {
  opacity: 0.7;
}

#contact .btn:hover:before,
#contact .btn:hover:after {
  right: -50px;
}

/* --#footer------------------------ */
#footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: solid 1px #fff;
  padding: 80px 30px;
  text-align: left;
  font-size: 0.75rem;
}

#footer .sns {
  display: flex;
  margin-top: 30px;
  align-items: center;
}

#footer .sns li {
  margin-right: 15px;
}

#footer .copyright {
  display: flex;
  align-items: center;
}

#footer .copyright li:last-child {
  margin-left: 30px;
}


/* --レスポンシブ----------------------------- */
@media screen and (max-width: 900px) {

  .site-title {
    font-size: 3rem;
    margin: 50px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* --レスポンシブ#information------------------------ */
  #information {
    margin-bottom: 80px;
  }

  #information .info-date-en,
  #information .info-time-en,
  #information .info-date-ja {
    font-size: 1rem;
  }

  #information .info-plase {
    font-size: 2rem;
  }

  /* --レスポンシブ#gallery----------- */
  #gallery {
    margin-bottom: 280px;
  }

  #gallery .list li {
    margin-bottom: 30px;
  }

  #gallery .list li img {
    width: 100%;
  }

  /* --レスポンシブ#access----------- */
  #access {
    margin-bottom: 280px;
  }

  /* --レスポンシブ#contact----------- */
  #contact .btn {
    width: 100%;
  }

  #contact .btn::before,
  #contact .btn::after {
    content: none;
  }

  /* --レスポンシブ#footer----------- */
  #footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 30px;
  }

  #footer .sns {
    margin-bottom: 30px;
  }

}