@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@300;400;500&display=swap');

@font-face {
	font-family: "cityscape-light";

	src:
    url("../font/cityscape_light/CityScape-Light.woff2") format("woff2"),
		url("../font/cityscape_light/CityScape-Light.woff") format("woff"),
    url("../font/cityscape_light/CityScape-Light.otf") format("opentype");
  font-weight: 100;
}

@font-face {
	font-family: "cityscape-bold";

	src:
		url("../font/cityscape_bold/CityScape-Bold.woff2") format("woff2"),
		url("../font/cityscape_bold/CityScape-Bold.woff") format("woff"),
    url("../font/cityscape_bold/CityScape-Bold.otf") format("opentype");
    font-weight: 700;
}

  body{
    font-family: 'Helvetica','Arial Black','Neue','Helvetica','Avenir','M PLUS 1p',sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fff;
    color: #1B9156;
  }
  .inner{
    width: 88%;
    margin: 0 auto;
  }

  h1{
    font-size: 2.125rem;
    font-weight: bold;
  }

  h2{
    font-size: 1.3125rem;
    font-weight: 400;
  }

  h3{
    font-size: 0.8125rem;
    font-weight: 400;
  }

  p{
    font-size: 0.8125rem;
    font-weight: 300;
  }

#home{
  width:100%;
  margin-top: 60px;
  padding: 2em;
  text-align: center;

  transition: .4s;
}

#home a{
    font-size: 1.6rem;
}

#home:hover{
  transform: scale(0.9);
}



  #global_nav{
    display: flex;
    justify-content: space-between;
  }

  #category, #archive{
    margin-top: 20px;
    width: 100%;
  
    padding: 0.5em;
  }

  #category{
    text-align: center;
    flex:2 0 50%;
  }


  #category_btn, #archive_btn{
    text-align: center;
  }

  .category_btn_check{
    position: relative;
    width: fit-content;
    margin: 0 auto;
  }

  #category_btn p{
    font-size: 1.6rem;
    padding-right: 1.5rem;
  }

  .btn_check{
    content: " ";
    display: inline-block;
    position: absolute;
    top: 20%;
    right: -20%;
    border-left: 1rem solid #1B9156;
    border-top: 0.6rem solid transparent;
    border-bottom: 0.6rem solid transparent;
    transition: all 0.2s;
  }

  .btn_check:hover{
    transform: scale(0.9);
  }

  .btn_check.btn_rotate{
    content: " ";
    position: absolute;
    top: 20%;
    right: -20%;
    border-left: 1rem solid #1B9156;
    border-top: 0.6rem solid transparent;
    border-bottom: 0.6rem solid transparent;
    transform: rotate(90deg);
    transition: all 0.2s;
  }

  #category_menu{
    opacity: 0;
    transition:  .8s;
    margin-top: 0px;
    height: 0px;
  }

  #category_menu.menu_open{
    opacity: 1;
    transition: .8s;
    margin-top: 30px;
    width: 100%;
    padding: 1em;
    height: auto;
  }

  .category_select ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .category_select ul li{
    font-size: 1.3rem;
    transition-duration: .4s;
  }

  .category_select ul li:hover{
    transform: scale(0.9);
  }

  #archive{
    display: inline-block;
    margin-left: 10px;
    transition-duration: .4s;
    flex:0 2 50%;
  }

  #archive:hover{
    transform: scale(0.9);
  }

  #archive_btn{
    font-size: 1.6rem;
  }

  .main_content{
    margin-top: 60px;
    display: block;
    width: 100%;
  }

    .content_box{
      width: 100%;
      height: 200px;
      display: block;
      position: relative;
      margin-top: 20px;
      margin-bottom: 20px;
      transform-style: flat;
      border-radius: 30px;
        }

    .content_box a li{
    display: grid;
    grid-template-columns: 160px 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-columns: minmax(100px, auto);
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    list-style:none;
    border: solid 1px #1B9156;
    border-radius: 30px;
    animation: filter .5s ease-in 1s;
  }

  .content_box::before{
    content: " ";
    position: absolute;
    transition: all .2s ease-out;
    border: 1px solid #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    z-index: -2;
  }

  .content_box:hover:before{
    box-shadow: -10px 15px 15px -10px rgba(31, 31, 31, 0.5);
  }

  .content_box a li:hover{
    border: 1px solid #fff;
  }

  .card_left{
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

.content_box a li h3{
  transform-origin: left bottom;
  transform:rotate(90deg);
  position: absolute;
  letter-spacing: -0.05em;
  bottom: 90%;
  left: 1%;
  font-size: 1.3rem;
  font-weight: 300;
}

  .content_box li .card_left img{
    display: block;
    width: 100%;
    height: auto;
  }


  .card_right{
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    width: 90%;
    margin-right: 5px;
    text-align: right;
  }

  .card_right h2{
    font-size: 2.125rem;
    line-height: 2.13rem;
    letter-spacing: -0.03em;
    padding-top: 7%;
    font-weight: bold;
    text-align: left;
  }

.content_box:nth-child(1) a li .card_right h2, .content_box:nth-child(2) a li .card_right h2{
  font-size: 1.5rem;
  line-height: 1.55rem;
}

.content_box:nth-child(3) a li .card_right h2{
  font-size: 1.2rem;
  line-height: 1.4rem;
}

  .card_right dl{
    padding:5% 5% 5% 0px;
    text-align: left;
    margin-right: 0px;
  }

  .card_right dl dt{
    font-size: 0.8rem;
    font-weight: 300;
    float: left;
  }

  .card_right dl dt::after{
    content: ":";
  }


  .card_right dl dd{
    font-size: 0.8rem;
    font-weight: 300;
    word-wrap: break-word;
  }

  .content_box:last-child{
    margin-bottom: 60px;
  }

/*作品詳細ページ*/

  #mainvisual{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 5 / 3;
    overflow: hidden;
    margin: 20px auto 0px; 
  }

  #mainvisual img{
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  #concept{
    margin-top: 20px;
  
  }

  .concept_box{
    padding: 2em;
  }

  .concept_box h2{
    margin-bottom: 5px;
  }

  .workpage_main{
    width: 100%;
  }
  .workpage_box:first-child{
    margin-top: 20px;
  }

  .workpage_box{
    margin-bottom: 50px;
  }

  .workpage_img img{
    width: 100%;
    height: auto;
    padding: 1em;
  }

  .workpage_box p{
    margin-top: 8px;
    margin-bottom: 5px;
  }


  #page_prev{
    text-align: right;
    margin-bottom: 30px;
}

  #page_prev a img{
	height: 2rem;
	z-index: 99;
  transition: .4s;
}

  #page_prev a img:hover{
    transform: scale(0.9);
    cursor: pointer;
  }

  #profile{
    width: 100%;
    height: auto;
    padding: 10%;
    overflow-wrap: break-word;
  }

  #profile dd{
    padding-left: 8px;
    margin-top: 8px;
    margin-bottom: 30px;
  }

  #footer{
    width: 100%;
    background: #1B9156;
    color:#fff;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }


  
  @keyframes filter {
    0% {
      transform: scale(.1);
    }
    100% {
      transform: none;
    }
  }

  #loading{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 2s 1s;
  }
  
.loader {
  width: 50%;
  color: #1B9156;
  margin:auto;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 11px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

#loading.fin{
  animation: disappear .7s forwards ease;
}

/*ローディングアニメーション終わり*/

@keyframes bound_animation {
	0% {	transform: translate(0, 0);}
	5% {	transform: translate(-5px, -0);}
	10% {	transform: translate(5px, 0);}
	15% {	transform: translate(-5px, -0);}
	20% {	transform: translate(5px, 0);}
	25% {	transform: translate(-5px, -0);}
	30% {	transform: translate(0, 0);}
	100% {	transform: translate(0, 0);}
}


  @keyframes appear{
    from{
      opacity: 0;
    }

    to{
      opacity: 1;
    }

  }

  @keyframes disappear{
    from{
      opacity: 1;
    }

    to{
      opacity: 0;
      z-index: -99;
    }

  }


  @media screen and (min-width: 769px) {

    .inner{
      max-width: 1100px;
      width:80%;
    }

    #home a{
      font-size: 2rem;
    }

    .main_content{
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .content_box{
      width: 49%;
    }
  
  }

  @media screen and (min-width: 834px) {

    .inner{
      width:95%;
      margin: 0 auto;
    }
  

    #category_menu.menu_open{
      padding: 1em 10%;
      margin-top: 50px;
    }

    #home{
      margin-top: 30px;
    }

    .workpage_main{
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr)) ;
      grid-template-rows: 300px 300px 1fr 300px 300px 300px 300px;
      gap: 20px;
      margin-top: 50px;
      margin-bottom: 60px;
    }

    .workpage_box{
      display: block;
      justify-content: center;
      align-items: flex-start;
      flex-direction: column;
      margin: 0px;
    }

    .workpage_box:first-child{
      margin-top: 0px;
    }

    .workpage_img{
      overflow: hidden;
      margin:0 auto;
      }

    .workpage_img img{
      height: 100%;
      object-fit: contain;
    }


  }

  @media screen and (min-width: 1085px){
    .content_box a li{
      grid-template-columns: 200px 1fr;
    }

    .content_box{
      width: 45%;
    }

    .card_left{
      margin-left: 30px;
    }

    .card_right h2{
      display: inline-block;
      width: 80%;
      margin-left: 20px;
    }
  
    .card_right dl{
      display: inline-block;
      width: 80%;
      margin-left: 20px;
    }

  }

  @media screen and (mix-width: 1629px) {
    .card_right h2{
      width: 90%;
      margin-left: 30px;
      padding-top: 5%;
    }

    .card_right dl{
      display: inline-block;
      width: 90%;
      margin-left: 30px;
    }
  }