@charset "uft-8";

/* 全体設定 */

body {
  box-sizing: border-box;
  font-size: 14px;
  font-family: "游ゴシック";
  background-color: #fcee0a;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #000;
}

img {
  vertical-align: bottom;
}

/* header全体設定 */

header {
  margin-top: 50px;
}

header nav {
  border-top: #000 double 4px;
  border-bottom: #000 double 4px;
}

header nav ul {
  width: 80%;
  min-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header nav ul li {
  font-size: 16px;
  font-weight: bold;
}

header nav ul li a {
  color: #fcee0a;
  background-color: #000;
  padding: 10px 30px;
  display: block;
}

header nav ul li a:hover {
  background-color: #ff00c9;
  color: #fff;
}

header h1 {
  margin-top: 50px;
}

/* headerレスポンシブ対応ここから */


@media screen and (max-width: 480px) {
    
  /*==================================================
  　5-2-4 MENUがCLOSEに
  ===================================*/
  
  /*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
  .openbtn{
  	/*ボタン内側の基点となるためrelativeを指定。
  追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
  	position: fixed;
    z-index: 3;
    top: 10px;
    right: 10px;
  	background:#D54884;
  	cursor: pointer;
      width: 50px;
      height:50px;
  	border-radius: 5px;
  }
  
  /*ボタン内側*/
  .openbtn span{
      display: inline-block;
      transition: all .4s;/*アニメーションの設定*/
      position: absolute;
      left: 14px;
      height: 2px;
      border-radius: 5px;
  	background: #fff;
    	width: 45%;
    }
  
  
  .openbtn span:nth-of-type(1) {
  	top:13px;	
  }
  
  .openbtn span:nth-of-type(2) {
  	top:19px;
  }
  
  .openbtn span:nth-of-type(3) {
  	top:25px;
  }
  
  .openbtn span:nth-of-type(3)::after {
  	content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  	position: absolute;
  	top:5px;
  	left:-2px;
  	color: #fff;
  	font-size: 0.6rem;
  	text-transform: uppercase;
  }
  
  /*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
  
  .openbtn.active span:nth-of-type(1) {
      top: 14px;
      left: 18px;
      transform: translateY(6px) rotate(-45deg);
      width: 30%;
  }
  
  .openbtn.active span:nth-of-type(2) {
  	opacity: 0;
  }
  
  .openbtn.active span:nth-of-type(3){
      top: 26px;
      left: 18px;
      transform: translateY(-6px) rotate(45deg);
      width: 30%;
  }
  
  .openbtn.active span:nth-of-type(3)::after {
  	content:"Close";/*3つ目の要素のafterにClose表示を指定*/
      transform: translateY(0) rotate(-45deg);
  	top:5px;
  	left:4px;
  }
  
  
  /* ハンバーガーメニューの設定ここまで */
  
  /* レスポンシブ版navの設定ここから */
  
  header {
    margin-top: 0px;
  }
  

  header nav {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    text-align: center;
    width: 100vw;
	  height: 100vh;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
    display: flex;
	  align-items: center;
  }
  
  header nav ul {
    margin: 0 auto;
    padding: 0;
    width: 100vw;
    min-width: 0;
    display: block;
  }
  header ul li {
  padding: 0;
  width: 100vw;
  transition: .4s all;
  }

  header nav ul li a {
    padding: 1em 0;
    border-bottom: #fcee0a 1px solid;
  }

  header nav ul li:first-child a {
    border-top: #fcee0a 1px solid;
  }

  header nav.active {
    opacity: 1;
    z-index: 2;
  }

}

/* headerのレスポンシブ対応ここまで */


/* main-index */

.index main {
  height: auto;
}

.index main h1.pc {
  width: 100%;
  display: flex;
  justify-content: center;
  background-image: url(../images/index/glitch-logo-sm.svg);
}

.index main h1.pc img.pc {
  margin-top: 50px;
  max-width: 1200px;
  width: 90%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  background-image: url(../images/index/glitch-logo-sm.svg);
}

main h1.sm,
main h1.sm img.sm {
  display: none;
}

/* main-about */

.about main h1.pc {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  background-image: none;
  background-color: #000;
  margin-bottom: 0;
}

.about main h1.pc img.pc {
  padding-top: 0;
  padding-bottom: 0;
}

.about main .about-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.about main .about-content figure{
  width: 33.3%;
  margin: 0;
  text-align: center;
}

.about main .about-content figure img {
  width: 100%;
  min-width: 350px;
  text-align: left;
}

.about main .about-content .about-text {
  width: 66.6%;
  padding-left: 100px;
}

.about main .about-content .about-text h2 {
  border: #000 solid 3px;
  text-align: center;
  width: 300px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 42px;
}

.about main .about-content .about-text p {
  width: 70%;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  line-height: 1.9;
  letter-spacing: 0.05em;
  font-size: 14px;
  font-weight: bold;
}

/* main-indexのレスポンシブ対応ここから */

@media screen and (max-width: 480px) {

  .index main {
    height: auto;
  }


  .index main h1.pc,
  .index main h1.pc img.pc {
    display: none;
  }

  .index main h1.sm img.sm {
    display: block;
  } 

  .index main h1.sm {
    display: block;
    height: auto;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    margin-top: 0;
    background-image: url(../images/index/glitch-logo.svg);
  }

  .index main h1.sm img.sm {
    background-image: url(../images/index/glitch-logo.svg);
    margin-left: auto;
    margin-right: auto;
  }



/* main-indexのレスポンシブ対応ここまで */

/* main-aboutのレスポンシブ対応ここから */

  .about main h1.pc {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .about main .about-content {
    display: block;
  }
  
  .about main .about-content .about-text {
    padding: 0;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 125px;
  }
  
  .about main .about-content figure {
    width: 100%;
  }
  
  .about main .about-content figure img {
    width: 90%;
    min-width: 0;
    text-align: center;
    margin-top: 70px;
    border: #000 3px double;
  }

  .about main .about-content .about-text h2 {
    font-size: 10vw;
    width: 80%;
  }

  .about main .about-content .about-text p {
    width: 80%;
  }

}

/* main-common & cafe */

main h1 {
  background-image: url(../images/common/glitch1.svg);
  background-repeat: repeat;
  background-size: auto;
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

main h1 img {
  width: 90%;
  margin-top: 0;
  padding-top: 50px;
  padding-bottom: 50px;
}

main .cafe-preview {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin-top: 50px;
}

main .cafe-preview img {
  max-width: 1100px;
  width: 10%;
  height: auto;
}

main .cafe-preview img:first-child {
  width: 24.9%;
  margin-right: 60px;
}

main .back-ground { /* メインコンテンツの背景 */
  width: 90%;
  max-width: 1200px;
  height: auto;
  margin-top: -100px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  padding-top: 200px;
  padding-bottom: 100px;
  color: #494949;
}

main .back-ground h2:first-child {
  width: 153px;
  height: auto;
  font-size: 16px;
  text-align: center;
  margin-left: 83px;
  padding-top: 6px;
  padding-bottom: 6px;
  border: #494949 1px solid;
}

.cafe main .back-ground h2:first-child {
  margin-left: 139px;
}

main .back-ground dl {
  display: flex;
  flex-direction: row;
  justify-content: left;
  margin-top: 30px;
  margin-left: 108px;
}

main .back-ground dl dt {
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: right;
  width: 190px;
  white-space: nowrap;
  font-weight: bold;
}

main .back-ground dl dd {
  margin-right: 108px;
  margin-left: 40px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  flex: 1;
}

/* pcとsmの表示切り替えボタン */

main .back-ground .switch-button {
  padding: 15px 30px;
  width: 220px;
  height: 30px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

 main .back-ground .switch-button:hover {
  background-image: url(../images/common/button-glitch1.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	height: 30px;
	background: #000;
	color: #fff;
	/* border-radius:50%; */
	font-size: 1.0rem;
	cursor: pointer;
}
.btn:before {
	content: '表示切り替え【PC】';
}
.checkbox {
	display: none;
}
/*以下を追記*/
.checkbox:checked+.btn {
	background: #ff00c9;
}
.checkbox:checked+.btn:before {
	content: '表示切り替え【mobile】';
}

/* 切り替えボタンここまで */

 main .back-ground .pc-view {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 100px;
}

 main .back-ground .pc-view.active {
  display: none;
}

 main .back-ground .sm-view {
  display: none;
  flex-direction: row;
  justify-content: center;
  margin-top: 100px;
}

 main .back-ground .sm-view.active {
  display: flex;
}

 main .back-ground .pc-view img {
  height: auto;
  width: 60%;
}

 main .back-ground .sm-view img {
  height: auto;
  width: 22%;
}

 main .back-ground .site-link {
  padding: 15px 30px;
  width: 220px;
  height: 30px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

 main .back-ground .site-link:hover {
  background-image: url(../images/common/button-glitch1.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

}

 main .back-ground .site-link a {
  width: 220px;
  height: 30px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background-color: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

 main .back-ground .h2-adjust {
  width: 60%;
  max-width: 621px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
}

 main .back-ground .h2-adjust h2 {
  width: 153px;
  height: auto;
  font-size: 16px;
  text-align: center;
  padding-top: 6px;
  padding-bottom: 6px;
  margin-left: 5px !important;
  border: #494949 1px solid;
}

 main .back-ground .text {
  width: 60%;
  max-width: 621px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.1em;
  line-height: 1.7;
}

/* ページトップへ移動するボタンの設定 */

/*リンクの形状*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background:#fcee0a;
  width: 60px;
  height: 60px;
  color: #000;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.6rem;
  transition:all 0.3s;
  border: #000 2px double;
}

#page-top a:hover{
  background: #777;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(100px);
  }
}

/* cafeのレスポンシブ対応ここから */

@media screen and (max-width: 480px) {

   main .back-ground {
    margin-top: -350px;
    padding-top: 400px;
    height: auto;
  }

   main .back-ground dl {
    display: block;
    margin-left: auto !important;
    margin-right: auto;
  }

   main .back-ground dl dt {
    margin-left: auto;
    margin-right: auto;
    margin-top: 55px;
    text-align: center;
  }
  
   main .back-ground dl dd {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 20px;
  }

   main .back-ground h2:first-child {
    margin-left: auto !important;
    margin-right: auto;
  }

   main .cafe-preview {
    display: block;
    text-align: center;
  }

   main .cafe-preview img:first-child {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

   main .cafe-preview img:last-child {
    width: 30%;
    margin-top: 70px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

   main .back-ground .pc-view img {
    width: 90%;
  }

   main .back-ground .sm-view img {
    width: 35%;
  }

   main .back-ground .text {
    margin-left: 30px;
    margin-right: 30px;
    margin-top: 20px;
    width: auto;
  }
}

/* main-signboard */

main .signboard-preview {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  margin-top: 50px;
}

main .signboard-preview img {
  max-width: 1100px;
  width: 10%;
  height: auto;
}

.signboard main .signboard-preview img:first-child {
  width: 58%;
  margin-right: 60px;
}

.signboard main .back-ground h2:first-child {
  width: 244px;
}

.signboard main .back-ground h2:last-child {
  width: 200px;
}

.signboard main .back-ground dl {
  margin-left: 139px;
}

.signboard main .back-ground .board-exsample {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 100px;
}

.signboard main .back-ground .board-exsample img {
  height: auto;
  width: 60%;
  max-width: 580px;
}

/* sign-boardのレスポンシブ対応ここから */

@media screen and (max-width: 480px) {

  main .signboard-preview {
    display: block;
    text-align: center;
  }

   main .signboard-preview img:first-child {
    width: 75%;
    margin-left: auto;
    margin-right: auto !important;
    display: block;
  }

   main .signboard-preview img:last-child {
    width: 30%;
    margin-top: 70px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .signboard main .back-ground .board-exsample img {
    width: 85%;
  }

  .signboard main .signboard-preview img:first-child {
    width: 90%;
  }

}

/* footer全体設定 */

footer {
  width: 100%;
  height: 200px;
  background-color: #000;
  padding-top: 20px;
}

footer ul {
  margin-left: 50px;
  border-left: 1px #fcee0a solid;
}

footer div ul li::before {
  color: #fcee0a;
  content: "■";
  margin-right: 10px;
}

footer div ul li {
  margin-top: 15px;
}

footer div ul li a {
  color: #fcee0a;
  padding: 5px;
}

footer div ul li a:hover {
  color: #fff;
  border: 1px solid #fcee0a;
}

footer div p {
  width: 100%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

footer div p small {
  color: #fcee0a;
}

/* footerのレスポンシブ対応ここから */

@media screen and (max-width: 480px) {
  
  footer {
    text-align: center;
  }

  footer ul {
    border-right: 1px #fcee0a solid;
    margin-right: 50px;
    padding-left: 0;
  }

  footer div ul li::after {
    color: #fcee0a;
    content: "■";
    margin-left: 10px;
  }

}

/* footerのレスポンシブ対応ここまで */