
#header{
  display: none;
}

a{
  text-decoration: none;
}
a:link{ color: gray;    }
a:visited { color:gray; }
a:hover{ color: black; }


.sp-contents{
  display: flex;
  flex-direction: column;
}
.top-contents img{
  max-width: 100%;
}
#pc-col{
  display: none;
}
/* works */
.works-contents img{
  max-width: 100%;
}
.contents-top img{
  max-width: 100%;
  margin-bottom: 5%;
}

/* 1col */
.augmented-pic{
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-content: space-between;

  text-align: center;
}

.augmented-pic img{
  max-width: 95%;
}


/* font */
.font-pic{
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-content: space-between;

  text-align: center;
}
.font-item{
  margin: 0 auto 36px;
}
.font-item img{
  max-width: 95%;
  margin: 0 auto 36px;
}
.container-1col{
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-content: space-between;
}

.item{
  margin: 0 auto 36px;
}
.item img{
  padding: 0;
  margin: 0 auto;
  }


  /* 2col */
.seems-pic{
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
}
.seems-item{
  width: 50%;
  margin: 0 auto 36px;

  text-align: center;
}
.seems-item img{
  max-width: 95%;

  padding: 0;
  margin: 0 auto;
  }

/* print-pic */
.print-pic{
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-content: space-between;

  text-align: center;
  }
.print-item{
  width: 100%;
  margin: 0px auto 36px;
}

.print-item img{
  width: 80%;
  margin: 0px auto 36px;
}  

/* glich-pic */
.glich-pic{
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-content: space-between;

  text-align: center;
  }
.glich-item{
  max-width: 95%;
  margin: 0px auto;
}

.glich-item img{
  max-width: 95%;
  height: auto;
  margin: 0px auto 36px;
}  

.container-2col{
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
}
.item2{
  width: 50%;
  margin: 0 auto 36px;

  text-align: center;
}
.item2 img{
  padding: 0;
  margin: 0 auto;
  }

.between-pic-sp{
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
}
.between-item-sp{
  width: 50%;
  margin: 0 auto 36px;

  text-align: center;
}
.between-item-sp img{
  max-width: 95%;

  padding: 0;
  margin: 0 auto;
  }

.between-pic{
  display: none;
}

/* modal */
#open #close{
  position: fixed;
  top: 17.5px;
  right: 15.5px;
  float: right;
}
.open{
  text-align: right;
}
.popupModal1 > input { /* ラジオボックス非表示 */
  display: none;
}
.popupModal1 > input:nth-child(1) + label { 
  cursor: pointer;
}
.modalPopup2 { /* 初期設定 ポップアップ非表示 */
  display: none;
}

/* モーダルコンテンツ */
.works-pic{
  margin-top: 20px;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 {/* ラジオ１ チェックでポップアップ表示 */
  display: block;
  z-index: 998;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;

  -webkit-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  background: #C1C1C1;
  padding: 20% 5%;
  overflow: hidden;
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div {/* */
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  display: inline-block;
  width: 90%;
  height: 100%;
  
  padding: 20% 5%;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > iframe {
  width: 100%;
    height:100%;
    border:none;
    display:block;
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > img {/* ポップアップの中の要素 */
max-width: 100%;
}
.popupModal1 > input:nth-child(1) + label ~ label {
  display: none;/* ラジオ１ 以外のラベルを初期は非表示 */

}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.70);
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 997;
  text-indent: -999999px;
  overflow: hidden;
}

/* closebox */
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
  background: rgba(255, 255, 255, 0.5);
  display: inline-block;
  position: fixed;
  right: 10px;
  top: 20px;
  z-index: 999;

  width: 44pt;
  height: 44pt;
  border-radius: 50%;
  
  font-size: 40px;
  line-height: 44pt;
  text-align: center;
  box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.popupModal1 > input:nth-child(1) + label + input:nth-child(3):checked + label + input:nth-child(5) + label + .modalPopup2,
.popupModal1 > input:nth-child(1) + label + input:nth-child(3) + label + input:nth-child(5):checked + label + .modalPopup2 { /* ラジオ２と３ どっちかチェックでポップアップ非表示 */
  display: none;
}


.modalPopup2 {
  animation: fadeIn 1s ease 0s 1 normal;
  -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
  0% {opacity: 0}
  100% {opacity: 1}
}

.popupModal1  {
   padding-bottom: .5em;
   margin: .5em 0;
   font-weight: bold;
}
.popupModal1  {
   color:#222;
   font-size: 14px;
   line-height: 1.8em;
}
#title-sp{
  display: block;
}
#title-pc{
  display: none;
}

#contact img{
  width: 33px;
}
@media (min-width: 450px) {/* PCのときはページの真ん中の600x600領域 */
  a{
    text-decoration: none;
  }
  a:link{ color: #ADADAD;    }
  a:visited { color: #ADADAD; }
  a:hover{ color: black; }
  
  #title-sp{
    display: none;
  }
  #title-pc{
    display: block;
  }
  .popupModal1 {
    display: none;   
  }
  #header{
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    flex-wrap: nowrap;
    padding: 50px 45px 0px 10px;

    /* justify-content: space-between; */
  }
  .blank{
    min-width: 150px;
    background-color: white;
    opacity: 0;
  }
  nav{
    margin-left: auto;
  }
  nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
  
    display: flex;
  }
  
  nav li{
  
    text-align: center;
    padding:0 10px;
    margin: 0 0px;
  }
  nav li img{
    padding: auto 0 auto;
    vertical-align: middle;
  }
  .sp-contents{
    display: none;
  }
  img:hover{
    opacity: 0.5;
  }
  .top-contents{
    display: block;
    padding-top: 150px;
    max-width: 100%;
  }
  .top-contents img{
    max-width: 720.5px;
  }

  /* pc col */
  #pc-col{
    display: block;
    text-align: left;

    position: fixed;
    left: 0;
    height: 100%;
    width: 320px;
    margin-left: 10px;

    background-color: white;
  }
  #pc-col img{
    max-width: 100%;
  }

  .pc-main{
    padding-top: 150px;
    margin-left: 340px;
  }

  .pc-main p{
    color:#ADADAD;
    font-family: 'Roboto', sans-serif;
  }
  /* augmented */
  .augmented-pic{
    width: 80%;
    margin: 0 auto;
  }
  /* font-pic */
  .font-pic{
    margin-top: 30px;
    display: flex;
    flex-direction: unset;
    align-content: space-between;
    flex-wrap: wrap;
    text-align: center;
  }
  .font-item{
    width: 50%;
    margin: 0px 0px 36px;
    text-align: unset;
  }
  
  .font-item img{
    width: 90%;
    margin: 0px auto 36px;
  
  }

  /* seems-pic */
  .seems-pic{
    margin-top: 30px;
    display: flex;
    flex-direction: unset;
    align-content: space-between;
    flex-wrap: wrap;
    text-align: unset;
  }
  .seems-item{
    width: 25%;
    margin: 0px 0px 36px;
    text-align: center;
  }
  
  .seems-item img{
    width: 90%;
    margin: 0px auto 36px;
  
  }

    /* glich-pic */
    .glich-pic{
      margin-top: 30px;
      display: flex;
      flex-direction: unset;
      align-content: space-between;
      flex-wrap: wrap;
      text-align: center;
    }
    .glich-item{
      width: 50%;
      margin: 0px 0px 36px;
      text-align: unset;
    }
    
    .glich-item img{
      height: 300px;
      width: auto;
      margin: 0px auto 36px;
    
    }
    
    /* print-pic */
    .print-pic{
      margin-top: 30px;
      display: flex;
      flex-direction: unset;
      align-content: space-between;
      flex-wrap: wrap;
      text-align: center;


    }
    .print-item{
      width: 25%;
      margin: 0px 0px 36px;
      text-align: unset;
    }
    
    .print-item img{
      width: 70%;
      margin: 0px auto 36px;
    
    }
    /* between-pic */
    .between-pic-sp{
      display: none;
    }

    .between-pic{
      margin-top: 30px;
      display: flex;
      flex-direction: unset;
      align-content: space-between;
      flex-wrap: wrap;
      text-align: center;

      padding: 0 100px 0 0;
    }
    .between-item{
      width: 50%;
      margin: 0px 0px 36px;
      text-align: unset;
    }
    .bet-3{
      width: 100%;
      display: flex;
    }
    .bet-3>.between-item{
      width: 33%;
      margin: 0px 0px 36px;
      text-align: unset;
    }
    .between-item img{
      width: 60%;
      margin: 0px auto 36px;
    }
    #contact img{
      width: 24px;
    }
    
}
  