@charset 'utf-8';

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}




/* MV */
.mv {
  background: var(--color-main) url(../img/top/Main_pc.png) no-repeat center;
  background-size: cover;
  height: 85vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 5%;
  color: var(--color-white);
}

.mv-copy {
  font-weight: 100;
  font-size: calc(1.75vw + 1.5rem);
  margin-bottom: 1em;
}

.mv-copy br {
  display: block;
}

@media screen and (min-width: 768px) {
  .mv {
    /* background: var(--color-main) url(../img/top/Main_mv.png) no-repeat center; */
    padding: 10%;
  }

  .mv-copy {
    font-size: 4rem;
  }

  .mv-copy br {
    display: none;
  }

  .mv-subcopy {
    font-size: 1.5rem;
    font-weight: 100;
    letter-spacing: .08em;
  }
}






/*================
  ABOUT
================*/

#about .content {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFF;
}

#about a{
  
  text-decoration: none;
  color: var(--color-accent);
}

#about img {
  width: 350px;
  height: 100%;
  /* border-radius: 50%;    丸く切り抜く */
  margin-right: var(--contents_side_gutter);    /* 画像の右側に余白を置き、テキストとの距離を保つ */
  padding-top: 50px;
}


#about .text {
  max-width: 500px;
  text-align: left;
  padding:20px;
}

@media screen and (max-width:599px) {

  #about .content {
      flex-direction: column;
  }

  #about img {
      margin-right: 0;
      margin-bottom: var(--contents_side_gutter);
  }

  /*=======max-width:599px=======*/
}





/*    画像をタイル表示    */
#wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;   /*全体の中央寄せ*/
}
#container-mas{
  /* width: 100%; */
  margin: 0 auto;   /*中央寄せ*/
  position: relative;
}
.item {
  margin: 10px;
  width: 150px;
  padding: 8px;
  border: 1px solid #E0E0E0;
}
.item.x2 {
  width: 160px;
}
.item.x3 {
  width: 332px;
}
.item img {
  width: 100%;
}


@media screen and (max-width: 599px) {

  #container-mas{
    /* width: 100vw;  画像の幅がbodyの幅を超えて大きくなってる*/
    margin: 0 auto;   /*中央寄せ*/
    position: relative;
  }
  .item {
    margin: 5px auto;
    width: 140px;
    padding: 4px;
    border: 1px solid #E0E0E0;
  }
  
  .item.x2 {
    width: 140px;
  }
}













/* ページトップに戻るボタン */
.pagetop {
  width: 40px;
  height: 40px;
  position: fixed;
  z-index: 2000;
  right: 30px;
  bottom: 50px;
  background-color: var(--color-main);     /* ページトップに戻るボタンの四角の色 */
  color: var(--color-white);     /* ページトップに戻るボタンの矢印 */
  font-size: 1.5rem;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  opacity: .6;
}

.pagetop:hover {
  opacity: .9;
}





/* ------------------ YouTube ------------------ */
.youtube {
  position: relative;
  height: 0;
  margin-bottom: 20px;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  margin: 10px
}
.container_yt img{
  max-width: 100%;
}
 
/* ココから下がPC表示（600px以上）のレイアウト */
@media screen and (min-width: 600px) {
  .container_yt{
    display: flex;
    margin-bottom: 1.5rem;
    justify-content: space-between;
    align-items: flex-start;
  }
  .yt{
    flex-basis: 49.5%;
  }
}








/*==================================
      ギャラリーのためのcss
===================================*/
.gallery{
  columns: 4;/*段組みの数*/
  padding:0 15px;/*ギャラリー左右に余白をつける*/
  margin:0;
}

.gallery li {
    margin-bottom: 20px;/*各画像下に余白をつける*/
    list-style:none;
}

/*ギャラリー内のイメージは横幅100%にする*/
.gallery img{
  width:100%;
  height:auto;
  vertical-align: bottom;/*画像の下にできる余白を削除*/
}

.fa {
  margin: 10px;
  padding: 8px;
  border: 1px solid #E0E0E0;
}
  
/*　横幅900px以下の段組み設定　*/
@media only screen and (max-width: 900px) {
  .gallery{
  columns:3;
  }	
}

@media only screen and (max-width: 768px) {
  .gallery{
  columns: 2;
  }	
}
